Fix copy&paste error in __gnu_debug::vector
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Oct 2016 18:33:47 +0000 (19:33 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 19 Oct 2016 18:33:47 +0000 (19:33 +0100)
* include/debug/vector (__gnu_debug::vector::emplace_back): Fix return
type.

From-SVN: r241350

libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/vector

index 06506308b381c43f30b53d042b32832fcaf08e83..1caa17a7016ac039fd569d2b16138896ed129840 100644 (file)
@@ -1,5 +1,8 @@
 2016-10-19  Jonathan Wakely  <jwakely@redhat.com>
 
+       * 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<Derived> rvalues to auto_ptr<Base>.
        * testsuite/20_util/auto_ptr/assign_neg.cc: Remove redundant dg-error
index b2d70bd5f6b651b8bea0c9187bf5269d98340e94..1b9e4a70c6ba9830cfcd95b933f0178e80e7f77d 100644 (file)
@@ -479,7 +479,7 @@ namespace __debug
 
       template<typename... _Args>
 #if __cplusplus > 201402L
-       deque<_Tp, _Alloc>::reference
+       reference
 #else
        void
 #endif