- added throw() to streambuf destructor overrides (#182)
This commit is contained in:
Phil Nash
2013-07-02 08:49:29 +01:00
parent 3907559896
commit ad7445d33c
7 changed files with 13 additions and 13 deletions

View File

@@ -39,7 +39,7 @@
namespace Catch {
NonCopyable::~NonCopyable() {}
IShared::~IShared() {}
StreamBufBase::~StreamBufBase() {}
StreamBufBase::~StreamBufBase() throw() {}
IContext::~IContext() {}
IResultCapture::~IResultCapture() {}
ITestCase::~ITestCase() {}

View File

@@ -27,7 +27,7 @@ namespace Catch {
setp( data, data + sizeof(data) );
}
~StreamBufImpl() {
~StreamBufImpl() throw() {
sync();
}

View File

@@ -14,7 +14,7 @@ namespace Catch {
class StreamBufBase : public std::streambuf {
public:
virtual ~StreamBufBase();
virtual ~StreamBufBase() throw();
};
}

View File

@@ -13,7 +13,7 @@
namespace Catch {
// These numbers are maintained by a script
Version libraryVersion( 1, 0, 4, "master" );
Version libraryVersion( 1, 0, 5, "master" );
}
#endif // TWOBLUECUBES_CATCH_VERSION_HPP_INCLUDED