mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 19:05:40 +02:00
Migrated Config and IConfig to shared_ptr (from Ptr)
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Catch {
|
||||
|
||||
class TestSpec;
|
||||
|
||||
struct IConfig : IShared {
|
||||
struct IConfig : NonCopyable {
|
||||
|
||||
virtual ~IConfig();
|
||||
|
||||
@@ -63,8 +63,9 @@ namespace Catch {
|
||||
virtual unsigned int rngSeed() const = 0;
|
||||
virtual UseColour::YesOrNo useColour() const = 0;
|
||||
virtual std::vector<std::string> const& getSectionsToRun() const = 0;
|
||||
|
||||
};
|
||||
|
||||
using IConfigPtr = std::shared_ptr<IConfig const>;
|
||||
}
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|
||||
|
Reference in New Issue
Block a user