From f2b95080815c873a64b76b8052472aa7a4fd6e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sat, 30 May 2020 14:30:20 +0200 Subject: [PATCH] Remove last vestiges of shared ptr use with IConfig --- src/catch2/interfaces/catch_interfaces_config.hpp | 3 --- src/catch2/internal/catch_context.hpp | 4 ---- 2 files changed, 7 deletions(-) diff --git a/src/catch2/interfaces/catch_interfaces_config.hpp b/src/catch2/interfaces/catch_interfaces_config.hpp index ca334326..0612eb83 100644 --- a/src/catch2/interfaces/catch_interfaces_config.hpp +++ b/src/catch2/interfaces/catch_interfaces_config.hpp @@ -14,7 +14,6 @@ #include #include #include -#include namespace Catch { @@ -83,8 +82,6 @@ namespace Catch { virtual unsigned int benchmarkResamples() const = 0; virtual std::chrono::milliseconds benchmarkWarmupTime() const = 0; }; - - using IConfigPtr = std::shared_ptr; } #endif // TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED diff --git a/src/catch2/internal/catch_context.hpp b/src/catch2/internal/catch_context.hpp index 1f64d7f9..b52a2267 100644 --- a/src/catch2/internal/catch_context.hpp +++ b/src/catch2/internal/catch_context.hpp @@ -8,8 +8,6 @@ #ifndef TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED #define TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED -#include - namespace Catch { struct IResultCapture; @@ -17,8 +15,6 @@ namespace Catch { struct IConfig; struct IMutableContext; - using IConfigPtr = std::shared_ptr; - struct IContext { virtual ~IContext();