diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-01-26 23:39:33 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-01-26 23:39:33 +0000 |
commit | 8fecd28c5a86095f10d77d84b1033d354d5b0f8c (patch) | |
tree | a8c5d9c51fc85268c9ac315e96ec5e310d17ba3a | |
parent | 9deb204a5a7f43018120c083a28430910364b8ca (diff) | |
download | gcc-8fecd28c5a86095f10d77d84b1033d354d5b0f8c.tar.gz |
std_bitset.h (bitset<>::_M_copy_to_string): Call the internal _Unchecked_set(size_t) instead of set.
2006-01-26 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h (bitset<>::_M_copy_to_string):
Call the internal _Unchecked_set(size_t) instead of set.
From-SVN: r110285
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/std/std_bitset.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4fc4aa406d7..3d42332275f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2006-01-26 Paolo Carlini <pcarlini@suse.de> + * include/std/std_bitset.h (bitset<>::_M_copy_to_string): + Call the internal _Unchecked_set(size_t) instead of set. + +2006-01-26 Paolo Carlini <pcarlini@suse.de> + * docs/html/install.html ([Tools you will need beforehand]): Clarify that the de_DE locale is used by configure; clarify that missing localedata leads to skipped tests, not fails. diff --git a/libstdc++-v3/include/std/std_bitset.h b/libstdc++-v3/include/std/std_bitset.h index ad47238ed62..bea36e28ea6 100644 --- a/libstdc++-v3/include/std/std_bitset.h +++ b/libstdc++-v3/include/std/std_bitset.h @@ -1,6 +1,7 @@ // <bitset> -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -1157,7 +1158,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD) case '0': break; case '1': - set(__i - 1); + _Unchecked_set(__i - 1); break; default: __throw_invalid_argument(__N("bitset::_M_copy_from_string")); |