mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-01 04:37:10 +01:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
@@ -23,11 +23,14 @@ namespace Catch {
|
||||
struct IRunner;
|
||||
struct IGeneratorsForTest;
|
||||
|
||||
class StreamBufBase : public std::streambuf{};
|
||||
class StreamBufBase : public std::streambuf {
|
||||
public:
|
||||
virtual ~StreamBufBase();
|
||||
};
|
||||
|
||||
struct IContext
|
||||
{
|
||||
virtual ~IContext(){}
|
||||
virtual ~IContext();
|
||||
|
||||
virtual IResultCapture& getResultCapture() = 0;
|
||||
virtual IRunner& getRunner() = 0;
|
||||
@@ -38,6 +41,7 @@ namespace Catch {
|
||||
|
||||
struct IMutableContext : IContext
|
||||
{
|
||||
virtual ~IMutableContext();
|
||||
virtual void setResultCapture( IResultCapture* resultCapture ) = 0;
|
||||
virtual void setRunner( IRunner* runner ) = 0;
|
||||
virtual void setConfig( const IConfig* config ) = 0;
|
||||
|
||||
Reference in New Issue
Block a user