stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject [STDCXX-550] Please peer review this change.
Date Mon, 02 Jun 2008 19:55:51 GMT
 
Would like to get another set of eyes on this before I submit.

$ svn diff include/deque
Index: include/deque
===================================================================
--- include/deque       (revision 662487)
+++ include/deque       (working copy)
@@ -749,7 +749,7 @@
     void _C_insert (const iterator &__it,
                     _IntType __n, _IntType __x, int) {
         // see 23.1.1, p9 and DR 438
-        _C_insert_n (__it, __n, __x);
+        _C_insert_n (__it, __n, const_reference (__x));
     }

Thanks,
Brad.

Mime
View raw message