stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.

2007-05-13  Paolo Carlini  <pcarlini@suse.de>

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

From-SVN: r124654
This commit is contained in:
Paolo Carlini 2007-05-13 16:23:20 +00:00 committed by Paolo Carlini
parent cbc862b223
commit de5e4138e5
2 changed files with 6 additions and 2 deletions

View 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.

View 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); }
/**