diff options
author | Stefano Soffia <soffia@cs.unipr.it> | 2008-05-12 12:15:34 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-05-12 10:15:34 +0000 |
commit | 2028b66d86a328f2e15bf5bd2077b5cdb9bb8f93 (patch) | |
tree | d784f449199154c82868eac9a3e3a361aa8952d4 /gcc/lambda-mat.c | |
parent | b3aaa29ac40cf49b62efc96db98500cce8491330 (diff) | |
download | gcc-2028b66d86a328f2e15bf5bd2077b5cdb9bb8f93.zip gcc-2028b66d86a328f2e15bf5bd2077b5cdb9bb8f93.tar.gz gcc-2028b66d86a328f2e15bf5bd2077b5cdb9bb8f93.tar.bz2 |
vector (vector<>::_M_requires_reallocation): Just use this->capacity().
2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/vector (vector<>::_M_requires_reallocation): Just
use this->capacity().
(vector<>::capacity): Move non-pedantic / pedantic logic here.
* testsuite/23_containers/vector/
debug_mode_requires_reallocation-2.cc: New.
* testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
Rename to debug_mode_requires_reallocation-1.cc
Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r135208
Diffstat (limited to 'gcc/lambda-mat.c')
0 files changed, 0 insertions, 0 deletions