diff --git a/include/catch_runner.hpp b/include/catch_runner.hpp index e6303d88..d51ebe12 100644 --- a/include/catch_runner.hpp +++ b/include/catch_runner.hpp @@ -100,6 +100,10 @@ namespace Catch { class Session { static bool alreadyInstantiated; + private: + // Prevent copy constructor + Session(const Session& other); + public: struct OnUnusedOptions { enum DoWhat { Ignore, Fail }; };