* include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing
return statement.
* testsuite/23_containers/map/modifiers/insert_or_assign/1.cc: Add
missing return statements.
* testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
Likewise.
From-SVN: r249251
+2017-06-16 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing
+ return statement.
+ * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc: Add
+ missing return statements.
+ * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
+ Likewise.
+
2017-06-07 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/81002
{
if (_M_buf->sputn(__p, __n) < __n)
return false;
+ return true;
}
// convert the put area and write to the byte stream buffer
{
val = other.val;
other.moved_from_assign = true;
+ return *this;
}
Val& operator=(const Val& other)
{
val = other.val;
+ return *this;
}
};
{
val = other.val;
other.moved_from_assign = true;
+ return *this;
}
Val& operator=(const Val& other)
{
val = other.val;
+ return *this;
}
};