Build fix: brace-enclosed initlializer lists error with g++ 4.8
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 7 Jun 2023 14:42:57 +0000 (10:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Jun 2023 19:13:09 +0000 (15:13 -0400)
commit56e5528de1689e0cc07c115f41f0cc3d9c7ce8d3
tree935bb91e80f06d2fb715581a34ceea2fabbaefb9
parent4d4aae780527d696919adb5fb052ab68c9813360
Build fix: brace-enclosed initlializer lists error with g++ 4.8

Looks like g++ 4.8 is confused by a single argument brace enclosed
initializer list:

utils.hpp: In constructor 'lttng::cli::session_list::session_list(lttng::cli::session_list&&)':
utils.hpp:112:38: error: call of overloaded 'random_access_container_wrapper(<brace-enclosed initializer list>)' is ambiguous
    { std::move(original._container) })
                                      ^

Change-Id: I19da292ed9a49bada7dbda5753bf1bd1442e612f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/utils.hpp
This page took 0.027891 seconds and 4 git commands to generate.