]> git.stg.codes - stg.git/blobdiff - include/stg/resetable.h
Fixed compilation with linux-3.5.1 and higher.
[stg.git] / include / stg / resetable.h
index cb35d80830dad69e229aa562470a96dd12c76c54..f3cecac843b65ba94f85ffc023f945e7c8981c64 100644 (file)
@@ -58,6 +58,10 @@ private:
 };
 
 template <typename T>
+std::ostream & operator<<(std::ostream & o, const RESETABLE<T> & v);
+
+template <typename T>
+inline
 std::ostream & operator<<(std::ostream & o, const RESETABLE<T> & v)
 {
     return o << v.const_data();