This commit is contained in:
Michael Davidsaver
2013-08-06 10:43:47 -04:00
parent 759d268af0
commit 31be738c10

View File

@@ -416,8 +416,7 @@ public:
void make_unique() {
if(this->unique())
return;
typedef typename meta::strip_const<E>::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,