Commit b70cb483 authored by Paul's avatar Paul
Browse files

Fix original file

parent 45fa26fb
......@@ -13,14 +13,13 @@ namespace rtg {
namespace operation_stream {
template<class T>
std::ostream& operator<<(std::ostream& os, const T& x)
template <class T>
auto operator<<(std::ostream& os, const T& x) -> decltype(os << x.name())
{
os << x.name();
return os;
return os << x.name();
}
}
} // namespace operation_stream
<%
interface('operation',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment