aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/mt_allocator.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-04-19 00:02:19 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-04-18 22:02:19 +0000
commit5d51b87af49e8a1862c2e6c2cb9fd0a434a3e28f (patch)
tree885f3095053fda74542e8236d86880dcd955c1fc /libstdc++-v3/include/ext/mt_allocator.h
parent50a681c4ee5933c5a561620c7df36716f39374bb (diff)
downloadgcc-5d51b87af49e8a1862c2e6c2cb9fd0a434a3e28f.zip
gcc-5d51b87af49e8a1862c2e6c2cb9fd0a434a3e28f.tar.gz
gcc-5d51b87af49e8a1862c2e6c2cb9fd0a434a3e28f.tar.bz2
pool_allocator.cc (_M_get_free_list, [...]): Mark throw ()
* src/pool_allocator.cc (_M_get_free_list, _M_get_mutex): Mark throw () * src/mt_allocator.cc (_M_reclaim_block, _M_reclaim_block, _M_destroy_thread_key): Mark throw () * debug.cc (_M_get_mutex, _M_attach_single, _M_detach_single, _M_singular, _M_can_compare _M_get_mutex, _M_message, _M_get_max_length): Mark throw (). * include/debug/formatter.h (_M_message, _M_format_word, _M_get_max_length): Mark throw (). * include/debug/safe_base.h (_M_get_mutex, _M_attach_single, _M_detach_single): Mark throw (). (_M_singular, _M_can_compare, _M_get_mutex): Mark pure and throw (). * include/ext/pool_allocator.h (_M_get_free_list): Mark const and throw () (_M_get_mutex): Mark throw (). * include/ext/mt_allocator.h (_M_reclaim_block): Mark throw (); (_M_destroy_thread_key): Mark CONST and throw. * include/bits/stl_list.h (swap, transfer, reverse, hook, unhook): Mark throw (). From-SVN: r146330
Diffstat (limited to 'libstdc++-v3/include/ext/mt_allocator.h')
-rw-r--r--libstdc++-v3/include/ext/mt_allocator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h
index f03f3a6..fc31fe8 100644
--- a/libstdc++-v3/include/ext/mt_allocator.h
+++ b/libstdc++-v3/include/ext/mt_allocator.h
@@ -221,7 +221,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
_M_reserve_block(size_t __bytes, const size_t __thread_id);
void
- _M_reclaim_block(char* __p, size_t __bytes);
+ _M_reclaim_block(char* __p, size_t __bytes) throw ();
size_t
_M_get_thread_id() { return 0; }
@@ -332,7 +332,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
_M_reserve_block(size_t __bytes, const size_t __thread_id);
void
- _M_reclaim_block(char* __p, size_t __bytes);
+ _M_reclaim_block(char* __p, size_t __bytes) throw ();
const _Bin_record&
_M_get_bin(size_t __which)
@@ -351,8 +351,8 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
}
// XXX GLIBCXX_ABI Deprecated
- void
- _M_destroy_thread_key(void*);
+ _GLIBCXX_CONST void
+ _M_destroy_thread_key(void*) throw ();
size_t
_M_get_thread_id();