OSDN Git Service

2007-05-13 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 May 2007 16:23:20 +0000 (16:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 May 2007 16:23:20 +0000 (16:23 +0000)
* 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

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tempbuf.h

index e460524..c259322 100644 (file)
@@ -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>
index 46c733f..9cf1620 100644 (file)
@@ -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); }
 
 
   /**