|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86086 - trunk/boost/type_erasure/detail
From: steven_at_[hidden]
Date: 2013-09-30 16:29:16
Author: steven_watanabe
Date: 2013-09-30 16:29:16 EDT (Mon, 30 Sep 2013)
New Revision: 86086
URL: http://svn.boost.org/trac/boost/changeset/86086
Log:
Fix deleted copy assignment operator.
Text files modified:
trunk/boost/type_erasure/detail/storage.hpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Modified: trunk/boost/type_erasure/detail/storage.hpp
==============================================================================
--- trunk/boost/type_erasure/detail/storage.hpp Mon Sep 30 16:04:18 2013 (r86085)
+++ trunk/boost/type_erasure/detail/storage.hpp 2013-09-30 16:29:16 EDT (Mon, 30 Sep 2013) (r86086)
@@ -31,6 +31,7 @@
storage(storage& other) : data(other.data) {}
storage(const storage& other) : data(other.data) {}
storage(storage&& other) : data(other.data) {}
+ storage& operator=(const storage& other) { data = other.data; return *this; }
template<class T>
storage(T&& arg) : data(new typename remove_cv<
typename remove_reference<T>::type>::type(std::forward<T>(arg))) {}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk