diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-14 20:14:49 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-14 20:14:49 +0000 |
commit | 885d02aaa0c458b1b63de95700b391201b82695d (patch) | |
tree | eaf4fc3a69661d2c76adb985910e0d740b4622fe /libstdc++-v3/include | |
parent | c56b171de3b00ba56cb5f06e83096823e7840c65 (diff) | |
download | gcc-885d02aaa0c458b1b63de95700b391201b82695d.tar.gz |
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_tempbuf.h: Qualify free with std::.
* src/locale.cc: Include <cstdlib>, qualify getenv.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/stl_tempbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h b/libstdc++-v3/include/bits/stl_tempbuf.h index 1fa5afcda17..0526c0d7706 100644 --- a/libstdc++-v3/include/bits/stl_tempbuf.h +++ b/libstdc++-v3/include/bits/stl_tempbuf.h @@ -125,7 +125,7 @@ public: } catch(...) { - free(_M_buffer); + std::free(_M_buffer); _M_buffer = 0; _M_len = 0; __throw_exception_again; @@ -134,7 +134,7 @@ public: ~_Temporary_buffer() { std::_Destroy(_M_buffer, _M_buffer + _M_len); - free(_M_buffer); + std::free(_M_buffer); } private: |