2015-04-28 Stephan Bergmann <sbergman@redhat.com>
* include/debug/vector (_Safe_vector::operator=): Add missing returns.
From-SVN: r222532
+2015-04-28 Stephan Bergmann <sbergman@redhat.com>
+
+ * include/debug/vector (_Safe_vector::operator=): Add missing returns.
+
2015-04-28 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/60333
_Safe_vector&
operator=(const _Safe_vector&) noexcept
- { _M_update_guaranteed_capacity(); }
+ {
+ _M_update_guaranteed_capacity();
+ return *this;
+ }
_Safe_vector&
operator=(_Safe_vector&& __x) noexcept
{
_M_update_guaranteed_capacity();
__x._M_guaranteed_capacity = 0;
+ return *this;
}
#endif