From 36e2520b479d85568e36982afe32c9dd652ebf76 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 19 Oct 2016 19:33:47 +0100 Subject: [PATCH] Fix copy&paste error in __gnu_debug::vector * include/debug/vector (__gnu_debug::vector::emplace_back): Fix return type. From-SVN: r241350 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/include/debug/vector | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2