Skip to content
Snippets Groups Projects
Commit bffd94e3 authored by scott snyder's avatar scott snyder
Browse files

TrigSteeringEvent: Fix compilation with clang.

operator<< should be defined in the same namespace as the class being output.
parent c3bc66e0
No related branches found
No related tags found
No related merge requests found
...@@ -51,9 +51,11 @@ namespace HLT { ...@@ -51,9 +51,11 @@ namespace HLT {
default: return "UNDEFINED OnlineErrorCode"; break; default: return "UNDEFINED OnlineErrorCode"; break;
} }
} }
}
inline std::ostream& operator<< (std::ostream& os, const HLT::OnlineErrorCode code) { inline std::ostream& operator<< (std::ostream& os, const HLT::OnlineErrorCode code) {
return os << HLT::OnlineErrorCodeToString(code); return os << HLT::OnlineErrorCodeToString(code);
} }
} // namespace HLT
#endif // TRIGSTEERINGEVENT_OnlineErrorCode_H #endif // TRIGSTEERINGEVENT_OnlineErrorCode_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment