stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.
authorPaolo Carlini <pcarlini@suse.de>
Sun, 13 May 2007 16:23:20 +0000 (16:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 13 May 2007 16:23:20 +0000 (16:23 +0000)
2007-05-13  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.

From-SVN: r124654

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

index e460524d7eb37f24cf724d639a74da353a050bcc..c259322f74eab087ea8c71c193413c11ba8202a5 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 46c733feb5c3b845f01e1015399ab0b30e53cf40..9cf16203a76d364e5480570638d3eecaede1f23e 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); }
 
 
   /**