exception.hpp (__throw_container_error, [...]): Mark inline.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 24 Jun 2008 12:04:13 +0000 (12:04 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 24 Jun 2008 12:04:13 +0000 (12:04 +0000)
2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
    Chalathip Thumkanon  <chalathip@gmail.com>

* include/ext/pb_ds/exception.hpp (__throw_container_error,
__throw_insert_error, __throw_join_error, __throw_resize_error):
Mark inline.

Co-Authored-By: Chalathip Thumkanon <chalathip@gmail.com>
From-SVN: r137065

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/pb_ds/exception.hpp

index 26b94e578ec91f32100876167b3bba66d5e96ccf..8b21a960fc540251b3a8cd4e9572954f3a3259d7 100644 (file)
@@ -1,3 +1,10 @@
+2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
+           Chalathip Thumkanon  <chalathip@gmail.com>
+
+       * include/ext/pb_ds/exception.hpp (__throw_container_error,
+       __throw_insert_error, __throw_join_error, __throw_resize_error):
+       Mark inline.
+
 2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
index 4a35931b3c567b15e458ade91874a847ddff86dc..6da1d41a45d6a72548a9c5e3dcd836e991bbf69a 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 
-// Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the terms
@@ -72,35 +72,35 @@ namespace __gnu_pbds
   struct resize_error : public container_error { };
 
 #if __EXCEPTIONS
-  void
+  inline void
   __throw_container_error(void)
   { throw container_error(); }
 
-  void
+  inline void
   __throw_insert_error(void)
   { throw insert_error(); }
 
-  void
+  inline void
   __throw_join_error(void)
   { throw join_error(); }
 
-  void
+  inline void
   __throw_resize_error(void)
   { throw resize_error(); }
 #else
-  void
+  inline void
   __throw_container_error(void)
   { std::abort(); }
 
-  void
+  inline void
   __throw_insert_error(void)
   { std::abort(); }
 
-  void
+  inline void
   __throw_join_error(void)
   { std::abort(); }
 
-  void
+  inline void
   __throw_resize_error(void)
   { std::abort(); }
 #endif