From 31be738c10c10180d2ca7b560f09c993590f8f32 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 6 Aug 2013 10:43:47 -0400 Subject: [PATCH] minor --- pvDataApp/misc/sharedVector.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pvDataApp/misc/sharedVector.h b/pvDataApp/misc/sharedVector.h index 5686296..755e256 100644 --- a/pvDataApp/misc/sharedVector.h +++ b/pvDataApp/misc/sharedVector.h @@ -416,8 +416,7 @@ public: void make_unique() { if(this->unique()) return; - typedef typename meta::strip_const::type nE; - nE *d = new nE[this->m_total]; + _E_non_const *d = new _E_non_const[this->m_total]; try { std::copy(this->m_data.get()+this->m_offset, this->m_data.get()+this->m_offset+this->m_count,