Ticket #11207: patch_numeric-ublas-storage.hpp.diff

File patch_numeric-ublas-storage.hpp.diff, 1.1 KB (added by Mark.Moll@…, 8 years ago)
  • boost/numeric/ublas/storage.hpp

     
    777777        BOOST_UBLAS_INLINE
    778778        shallow_array_adaptor (size_type size, pointer data):
    779779            size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {}
    780         BOOST_UBLAS_INLINE
    781780        template <size_t N>
     781        BOOST_UBLAS_INLINE
    782782        shallow_array_adaptor (T (&data)[N]):
    783783            size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {}
    784784
     
    833833        void resize (size_type size, pointer data, value_type init) {
    834834            resize_internal (size, data, init, true);
    835835        }
    836         BOOST_UBLAS_INLINE
    837836        template <size_t N>
     837        BOOST_UBLAS_INLINE
    838838        void resize (T (&data)[N]) {
    839839            resize_internal (N, data, value_type (), false);
    840840        }
    841         BOOST_UBLAS_INLINE
    842841        template <size_t N>
     842        BOOST_UBLAS_INLINE
    843843        void resize (T (&data)[N], value_type init) {
    844844            resize_internal (N, data, init, true);
    845845        }