diff --git a/numeric_traits_test.cpp b/numeric_traits_test.cpp index 170f61c..c04c75b 100644 --- a/numeric_traits_test.cpp +++ b/numeric_traits_test.cpp @@ -159,7 +159,7 @@ template <> struct stream_as { // Standard promotion process for streaming template struct promote { - typename stream_as::t1 static from(T x) { + static typename stream_as::t1 from(T x) { typedef typename stream_as::t1 t1; return t1(x); }