summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-13 16:23:20 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-13 16:23:20 +0000
commita3e3ffb3417fac79a7f69d8b970caf1e9e030b91 (patch)
tree16dd3e4cfd2c955abd84302c176b8668b7952057
parent5e3a3b265da8f073c26627af83ff64ddcade6432 (diff)
downloadppe42-gcc-a3e3ffb3417fac79a7f69d8b970caf1e9e030b91.tar.gz
ppe42-gcc-a3e3ffb3417fac79a7f69d8b970caf1e9e030b91.zip
2007-05-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124654 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/stl_tempbuf.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e460524d7eb..c259322f74e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2007-05-13 Paolo Carlini <pcarlini@suse.de>
+ * include/bits/stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.
+
+2007-05-13 Paolo Carlini <pcarlini@suse.de>
+
* include/tr1/type_traitsfwd.h: Fix include guard typo.
2007-05-11 Paolo Carlini <pcarlini@suse.de>
diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h b/libstdc++-v3/include/bits/stl_tempbuf.h
index 46c733feb5c..9cf16203a76 100644
--- a/libstdc++-v3/include/bits/stl_tempbuf.h
+++ b/libstdc++-v3/include/bits/stl_tempbuf.h
@@ -124,9 +124,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
* Frees the memory pointed to by p.
*/
template<typename _Tp>
- void
+ inline void
return_temporary_buffer(_Tp* __p)
- { ::operator delete(__p, nothrow); }
+ { ::operator delete(__p, std::nothrow); }
/**
OpenPOWER on IntegriCloud