diff --git a/include/boost/numeric/ublas/vector.hpp b/include/boost/numeric/ublas/vector.hpp index 048c25fb..67acc58d 100644 --- a/include/boost/numeric/ublas/vector.hpp +++ b/include/boost/numeric/ublas/vector.hpp @@ -17,6 +17,8 @@ #ifndef BOOST_UBLAS_VECTOR_H #define BOOST_UBLAS_VECTOR_H +#include + #include #include #include @@ -44,7 +46,7 @@ namespace boost { namespace numeric { namespace ublas { // Specialise for std::vector template - struct resize_functor< std::vector > { + struct resize_functor > { void operator() (std::vector& a, typename std::vector::size_type size, bool ) const { a.resize (size); } @@ -65,9 +67,9 @@ namespace boost { namespace numeric { namespace ublas { * however compilers without template partial specialization (MSVC-6/7) * also think this is bjam uBLAS_test ambiguous when std::vector is used! */ - template + template BOOST_UBLAS_INLINE - void resize (std::vector &a, typename std::vector::size_type size, bool /* preserve */) { + void resize (std::vector &a, typename std::vector::size_type size, bool /* preserve */) { a.resize (size); } #endif