Build fix: g++ 4.8 incorrectly disambiguates enum and member
g++ 4.8 fails to build with the following error:
commands/start.cpp: In function ‘cmd_error_code {anonymous}::start_tracing(const session_spec&)’:
commands/start.cpp:123:76: error: ‘session_spec::type’ is not a class, namespace, or enumeration
if (!listing_failed && sessions.size() == 0 && spec.type == session_spec::type::NAME) {
^
commands/start.cpp:144:36: error: ‘session_spec::type’ is not a class, namespace, or enumeration
if (spec.type != session_spec::type::NAME) {
^
The `type` member is renamed to type_ to workaround this compiler bug.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id46ca4219d4d96db71a9d4523c3571303b2e97a7
This page took 0.025915 seconds and 4 git commands to generate.