Skip to content

Commit

Permalink
Remove global qualifier from struct definition
Browse files Browse the repository at this point in the history
Global qualifier in struct/class name definition is accepted by Clang but not allowed in GCC (which apparently doesn't implement the correction of the C++ Core Issue 355, see https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3259.htm).
Removing the global qualifier solved the issue.

Re ECFLOW-1922
  • Loading branch information
marcosbento committed Oct 26, 2023
1 parent dfa583b commit 07b347e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ACore/test/TestConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct Gizmo
};

template <>
struct ::ecf::converter_traits<Widget, Gizmo>
struct ecf::converter_traits<Widget, Gizmo>
{
inline static Gizmo convert(const Widget&) { return Gizmo{}; }
};
Expand Down

0 comments on commit 07b347e

Please sign in to comment.