mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Remove last vestiges of shared ptr use with IConfig
This commit is contained in:
parent
1d1ccf8f3c
commit
f2b9508081
@ -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
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user