aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-04-09 12:05:39 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-04-09 13:09:24 +0100
commit40ccb47b505b528244ee305923681c0ae3b6f4d5 (patch)
tree62953d42d3a187906e35d20d2dbd0f09760efb26 /libphobos/libdruntime/gcc
parent72ddd861d3881eba141c41c1ccbb4e8b3be159a5 (diff)
downloadgcc-40ccb47b505b528244ee305923681c0ae3b6f4d5.zip
gcc-40ccb47b505b528244ee305923681c0ae3b6f4d5.tar.gz
gcc-40ccb47b505b528244ee305923681c0ae3b6f4d5.tar.bz2
libstdc++: Fix invalid constexpr function in C++11 mode [PR 99985]
I keep forgetting that a constexpr function in C++11 has to be a single return statement. libstdc++-v3/ChangeLog: PR libstdc++/99985 * include/bits/hashtable.h (_Hashtable::_S_nothrow_move()): Fix to be a valid constexpr function in C++11. * testsuite/23_containers/unordered_set/cons/99985.cc: New test.
Diffstat (limited to 'libphobos/libdruntime/gcc')
0 files changed, 0 insertions, 0 deletions