diff --git a/code/BoostWorkaround/boost/tuple/tuple.hpp b/code/BoostWorkaround/boost/tuple/tuple.hpp index 1718b9d23..b6466f590 100644 --- a/code/BoostWorkaround/boost/tuple/tuple.hpp +++ b/code/BoostWorkaround/boost/tuple/tuple.hpp @@ -180,7 +180,7 @@ namespace boost { // ... and the const version template - typename const detail::type_getter::type& get () const { + const typename detail::type_getter::type& get () const { return m.get(); } @@ -196,26 +196,24 @@ namespace boost { } // cast to another tuple - all single elements must be convertible - template < typename T0, typename T1,typename T2, - typename T3, typename T4> - - operator tuple () const { - tuple s; - s.m = (tuple ::very_long)m; + template + operator tuple () const { + tuple s; + s.m = (typename tuple ::very_long)m; return s; } }; // Another way to access an element ... template - inline typename tuple::very_long::type_getter::type& get ( + inline typename tuple::very_long::template type_getter::type& get ( tuple& m) { return m.get(); } // ... and the const version template - inline const typename tuple::very_long::type_getter::type& get ( + inline const typename tuple::very_long::template type_getter::type& get ( const tuple& m) { return m.get(); }