From 2f454f608f50bae184ca8ac0f0784f50f5182fdb Mon Sep 17 00:00:00 2001 From: bkoz Date: Wed, 17 Jan 2001 07:44:57 +0000 Subject: 2001-01-16 Benjamin Kosnik libstdc++/1605 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs. * src/ios.cc (ios_base::failure): Make definitions match. * libsupc++/typeinfo (class bad_typeid): Add throw specs. (class bad_cast): Same. * libsupc++/exception (class exception): Add throw specs. * libsupc++/exception_support.cc (set_terminate): Add throw specs. (set_unexpected): Same. (uncaught_exception): Same. (what): Same. * docs/html/17_intro/C++STYLE (classname): Fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39087 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/src/ios.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libstdc++-v3/src') diff --git a/libstdc++-v3/src/ios.cc b/libstdc++-v3/src/ios.cc index db694786a3f..d61c2635351 100644 --- a/libstdc++-v3/src/ios.cc +++ b/libstdc++-v3/src/ios.cc @@ -120,13 +120,13 @@ namespace std wostream wclog(NULL); #endif - ios_base::failure::failure(const string& __str) + ios_base::failure::failure(const string& __str) throw() { strncpy(_M_name, __str.c_str(), _M_bufsize); _M_name[_M_bufsize - 1] = '\0'; } - ios_base::failure::~failure() + ios_base::failure::~failure() throw() { } const char* -- cgit v1.2.3