From 90677ea5de82d55dbcd62fe6457dd457f6911f87 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Wed, 5 Apr 2006 08:36:28 +0000 Subject: [PATCH] CHANGE some but not all constructor explicty construct base type. For consistency remove explict contructions [SVN r33550] --- include/boost/numeric/ublas/storage.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp index 28a109b5..9c07c288 100644 --- a/include/boost/numeric/ublas/storage.hpp +++ b/include/boost/numeric/ublas/storage.hpp @@ -87,7 +87,6 @@ namespace boost { namespace numeric { namespace ublas { } BOOST_UBLAS_INLINE unbounded_array (const unbounded_array &c): - storage_array (), alloc_ (c.alloc_), size_ (c.size_) { if (size_) { data_ = alloc_.allocate (size_); @@ -316,7 +315,6 @@ namespace boost { namespace numeric { namespace ublas { } BOOST_UBLAS_INLINE bounded_array (const bounded_array &c): - storage_array (), size_ (c.size_) { // ISSUE elements should be copy constructed here, but we must copy instead as already default constructed std::copy (c.data_, c.data_ + c.size_, data_);