From: Jonathan Wakely Date: Wed, 19 Oct 2016 18:33:47 +0000 (+0100) Subject: Fix copy&paste error in __gnu_debug::vector X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36e2520b479d85568e36982afe32c9dd652ebf76;p=gcc.git Fix copy&paste error in __gnu_debug::vector * include/debug/vector (__gnu_debug::vector::emplace_back): Fix return type. From-SVN: r241350 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 06506308b38..1caa17a7016 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-10-19 Jonathan Wakely + * include/debug/vector (__gnu_debug::vector::emplace_back): Fix return + type. + * include/backward/auto_ptr.h (dauto_ptr): Correct comment about conversions from auto_ptr rvalues to auto_ptr. * testsuite/20_util/auto_ptr/assign_neg.cc: Remove redundant dg-error diff --git a/libstdc++-v3/include/debug/vector b/libstdc++-v3/include/debug/vector index b2d70bd5f6b..1b9e4a70c6b 100644 --- a/libstdc++-v3/include/debug/vector +++ b/libstdc++-v3/include/debug/vector @@ -479,7 +479,7 @@ namespace __debug template #if __cplusplus > 201402L - deque<_Tp, _Alloc>::reference + reference #else void #endif