basic_string.tcc (_M_mutate): Fix typo in the previous check in.

2001-12-07  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.tcc (_M_mutate): Fix typo
	in the previous check in.

From-SVN: r47754
This commit is contained in:
Paolo Carlini 2001-12-07 13:25:51 +01:00 committed by Paolo Carlini
parent 65a07688cf
commit cc89439188
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-12-07 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (_M_mutate): Fix typo
in the previous check in.
2001-12-06 Paolo Carlini <pcarlini@unitus.it>
Loren J. Rittle <ljrittle@acm.org>

View File

@ -290,7 +290,7 @@ namespace std
const size_type __pagesize = 4096;
const size_type __malloc_header_size = 4 * sizeof (void*);
// The biggest string which fits in a memory page
const size_type __page_capacity = !(__pagesize - __malloc_header_size
const size_type __page_capacity = (__pagesize - __malloc_header_size
- sizeof(_Rep) - sizeof(_CharT))
/ sizeof(_CharT);
_Rep* __r;