aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h')
-rw-r--r--gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h b/gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h
index 23026cb43..35ce08b1f 100644
--- a/gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h
+++ b/gcc-4.8/libstdc++-v3/include/debug/safe_unordered_base.h
@@ -133,9 +133,19 @@ namespace __gnu_debug
protected:
// Initialize with a version number of 1 and no iterators
_Safe_unordered_container_base()
- : _M_local_iterators(0), _M_const_local_iterators(0)
+ : _M_local_iterators(nullptr), _M_const_local_iterators(nullptr)
{ }
+ // Initialize with a version number of 1 and no iterators
+ _Safe_unordered_container_base(const _Safe_unordered_container_base&)
+ noexcept
+ : _Safe_unordered_container_base() { }
+
+ _Safe_unordered_container_base(_Safe_unordered_container_base&& __x)
+ noexcept
+ : _Safe_unordered_container_base()
+ { this->_M_swap(__x); }
+
/** Notify all iterators that reference this container that the
container is being destroyed. */
~_Safe_unordered_container_base()