Outline Config destructor to avoid including superfluous header

This commit is contained in:
Martin Hořeňovský 2020-02-02 14:43:26 +01:00
parent 66fe591477
commit 3b297cf9b5
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
2 changed files with 5 additions and 4 deletions

View file

@ -11,9 +11,6 @@
#include <catch2/catch_test_spec_parser.h>
#include <catch2/catch_interfaces_config.h>
// Libstdc++ doesn't like incomplete classes for unique_ptr
#include <catch2/catch_stream.h>
#include <memory>
#include <vector>
#include <string>
@ -73,7 +70,7 @@ namespace Catch {
Config() = default;
Config( ConfigData const& data );
virtual ~Config() = default;
~Config() override; // = default in the cpp file
std::string const& getFilename() const;