Conditionally removes usage of deprecated features
-add macros to test for C++ version and features to catch_compiler_capabilities.hpp - replaces dynamic exception specifications (deprecated) with noexcept in C++ Version >= 11 - defines defaulted copy constructor/move constructors/assignment in C++ Version >= 11 since their implicit generation is deprecated under some circumstances. - fixes #259
This commit is contained in:
1 parent
ba13f3f098
commit
ce6598599b
13 files changed
+103
-10
No files matched your search
@@ -14,7 +14,7 @@ namespace Catch {
|
||||
|
||||
class StreamBufBase : public std::streambuf {
|
||||
public:
|
||||
virtual ~StreamBufBase() throw();
|
||||
virtual ~StreamBufBase() CATCH_NOEXCEPT;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user