Remove last vestiges of shared ptr use with IConfig

This commit is contained in:
Martin Hořeňovský 2020-05-30 14:30:20 +02:00
parent 1d1ccf8f3c
commit f2b9508081
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 0 additions and 7 deletions

View File

@ -14,7 +14,6 @@
#include <iosfwd> #include <iosfwd>
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
namespace Catch { namespace Catch {
@ -83,8 +82,6 @@ namespace Catch {
virtual unsigned int benchmarkResamples() const = 0; virtual unsigned int benchmarkResamples() const = 0;
virtual std::chrono::milliseconds benchmarkWarmupTime() const = 0; virtual std::chrono::milliseconds benchmarkWarmupTime() const = 0;
}; };
using IConfigPtr = std::shared_ptr<IConfig const>;
} }
#endif // TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED #endif // TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED

View File

@ -8,8 +8,6 @@
#ifndef TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED #ifndef TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED
#define TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED #define TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED
#include <memory>
namespace Catch { namespace Catch {
struct IResultCapture; struct IResultCapture;
@ -17,8 +15,6 @@ namespace Catch {
struct IConfig; struct IConfig;
struct IMutableContext; struct IMutableContext;
using IConfigPtr = std::shared_ptr<IConfig const>;
struct IContext struct IContext
{ {
virtual ~IContext(); virtual ~IContext();