Skip to content
Snippets Groups Projects

Fix class/struct mismatch warning from clang

Merged Marco Clemencic requested to merge clemenci-master-patch-23737 into master

this fixes the warning:

In file included from ../GaudiExamples/src/FunctionalAlgorithms/MakeAndConsume.cpp:12:
../GaudiAlg/include/GaudiAlg/FunctionalTool.h:25:5: warning: 'ToolBinder' defined as a class template here but previously declared as a struct template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
    class ToolBinder<Gaudi::Interface::Bind::Box<IFace>( Args const&... ), Traits>
    ^
../GaudiAlg/include/GaudiAlg/FunctionalTool.h:22:5: note: did you mean class here?
    struct ToolBinder;
    ^~~~~~
    class

/cc @graven

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading