ios.cc (ios_base::ios_base): Correct order of _M_word and _M_word_size initialization.

2003-03-08  Jerry Quinn  <jlquinn@optonline.net>

	* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
	_M_word_size initialization.

From-SVN: r63969
This commit is contained in:
Jerry Quinn 2003-03-08 06:17:11 +00:00 committed by Jerry Quinn
parent d7b53ca48d
commit c562d51bb3
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-03-08 Jerry Quinn <jlquinn@optonline.net>
* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
_M_word_size initialization.
2003-03-07 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_convert_to_external):

View File

@ -301,8 +301,8 @@ namespace std
return __old;
}
ios_base::ios_base() : _M_callbacks(0), _M_word(_M_local_word),
_M_word_size(_S_local_word_size), _M_locale_cache(0)
ios_base::ios_base() : _M_callbacks(0), _M_word_size(_S_local_word_size),
_M_word(_M_local_word), _M_locale_cache(0)
{
// Do nothing: basic_ios::init() does it.
// NB: _M_callbacks and _M_word must be zero for non-initialized