diff options
| author | Martin Hořeňovský | 2020-05-30 14:30:20 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-05-31 15:25:14 +0200 |
| commit | f2b95080815c873a64b76b8052472aa7a4fd6e9f (patch) | |
| tree | c662e8cc223222a9591f72493d3951f7a5e7f7ca | |
| parent | 1d1ccf8f3c0c9e121b16afd4fafb850d14ef9fb0 (diff) | |
| download | catch3-f2b95080815c873a64b76b8052472aa7a4fd6e9f.tar.gz | |
Remove last vestiges of shared ptr use with IConfig
| -rw-r--r-- | src/catch2/interfaces/catch_interfaces_config.hpp | 3 | ||||
| -rw-r--r-- | src/catch2/internal/catch_context.hpp | 4 |
2 files changed, 0 insertions, 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 <iosfwd> #include <string> #include <vector> -#include <memory> 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<IConfig const>; } #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 <memory> - namespace Catch { struct IResultCapture; @@ -17,8 +15,6 @@ namespace Catch { struct IConfig; struct IMutableContext; - using IConfigPtr = std::shared_ptr<IConfig const>; - struct IContext { virtual ~IContext(); |