Fix -Wempty-body warnings for debug assertions
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Dec 2017 15:10:20 +0000 (15:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 1 Dec 2017 15:10:20 +0000 (15:10 +0000)
commitb7b61489b70179c2046df453897f4461c0ea710a
tree45268580f8041d731af0525ccc313c84d814f767
parentf1338a2dcb4f4cb805b853965c513bfaf5a71ff9
Fix -Wempty-body warnings for debug assertions

* include/bits/node_handle.h (_Node_handle_common::operator=)
(_Node_handle_common::_M_swap): Add braces around debug assertions.

From-SVN: r255317
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/node_handle.h