OSDN Git Service

* config/locale/generic/c_locale.h: Include <cstdlib> and
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / bits / vector.tcc
index 7e65c4d..181b359 100644 (file)
@@ -241,7 +241,7 @@ namespace std
       {
         const size_type __old_size = size();
         const size_type __len = __old_size != 0 ? 2 * __old_size : 1;
-        iterator __new_start(_M_allocate(__len));
+        iterator __new_start(this->_M_allocate(__len));
         iterator __new_finish(__new_start);
         try
           {
@@ -349,7 +349,7 @@ namespace std
          {
            const size_type __old_size = size();
            const size_type __len = __old_size + std::max(__old_size, __n);
-           iterator __new_start(_M_allocate(__len));
+           iterator __new_start(this->_M_allocate(__len));
            iterator __new_finish(__new_start);
            try
              {
@@ -426,7 +426,7 @@ namespace std
         {
           const size_type __old_size = size();
           const size_type __len = __old_size + std::max(__old_size, __n);
-          iterator __new_start(_M_allocate(__len));
+          iterator __new_start(this->_M_allocate(__len));
           iterator __new_finish(__new_start);
           try
             {