Clarify bunch of default, out of line destructors
This commit is contained in:
13 files changed
+17
-17
No files matched your search
@@ -16,7 +16,7 @@ namespace Catch {
|
||||
|
||||
struct IContext
|
||||
{
|
||||
virtual ~IContext();
|
||||
virtual ~IContext(); // = default
|
||||
|
||||
virtual IResultCapture* getResultCapture() = 0;
|
||||
virtual IRunner* getRunner() = 0;
|
||||
@@ -25,7 +25,7 @@ namespace Catch {
|
||||
|
||||
struct IMutableContext : IContext
|
||||
{
|
||||
virtual ~IMutableContext();
|
||||
virtual ~IMutableContext(); // = default
|
||||
virtual void setResultCapture( IResultCapture* resultCapture ) = 0;
|
||||
virtual void setRunner( IRunner* runner ) = 0;
|
||||
virtual void setConfig( IConfig const* config ) = 0;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
IMutableEnumValuesRegistry::~IMutableEnumValuesRegistry() {}
|
||||
IMutableEnumValuesRegistry::~IMutableEnumValuesRegistry() = default;
|
||||
|
||||
namespace Detail {
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Catch {
|
||||
}
|
||||
}
|
||||
|
||||
ISingleton::~ISingleton() {}
|
||||
ISingleton::~ISingleton() = default;
|
||||
|
||||
void addSingleton(ISingleton* singleton ) {
|
||||
getSingletons()->push_back( singleton );
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
namespace Catch {
|
||||
|
||||
struct ISingleton {
|
||||
virtual ~ISingleton();
|
||||
virtual ~ISingleton(); // = default
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Catch {
|
||||
std::ostream& clog();
|
||||
|
||||
struct IStream {
|
||||
virtual ~IStream();
|
||||
virtual ~IStream(); // = default
|
||||
virtual std::ostream& stream() const = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Catch {
|
||||
<< "\tRedefined at: " << lineInfo );
|
||||
}
|
||||
|
||||
ITagAliasRegistry::~ITagAliasRegistry() {}
|
||||
ITagAliasRegistry::~ITagAliasRegistry() = default;
|
||||
|
||||
ITagAliasRegistry const& ITagAliasRegistry::get() {
|
||||
return getRegistryHub().getTagAliasRegistry();
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace TestCaseTracking {
|
||||
return m_nameAndLocation;
|
||||
}
|
||||
|
||||
virtual ~ITracker();
|
||||
virtual ~ITracker(); // = default
|
||||
|
||||
|
||||
// dynamic queries
|
||||
|
||||
Reference in new issue
Block a user