Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/interfaces
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-18 11:35:58 +0200
committerMartin Hořeňovský2020-08-18 21:02:23 +0200
commite7eb74981513364e6543aeec30446fda4c9a3de9 (patch)
treee8580a3a0963a99e90f374e831152d5dc10c98e0 /src/catch2/interfaces
parentc1bb699d45fd3e6eb349525110983b61d4a936a2 (diff)
downloadcatch3-e7eb74981513364e6543aeec30446fda4c9a3de9.tar.gz
Split the NonCopyable helper out of catch_common.hpp
Diffstat (limited to 'src/catch2/interfaces')
-rw-r--r--src/catch2/interfaces/catch_interfaces_config.hpp4
-rw-r--r--src/catch2/interfaces/catch_interfaces_registry_hub.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_config.hpp b/src/catch2/interfaces/catch_interfaces_config.hpp
index a2cb88a8..f0f19167 100644
--- a/src/catch2/interfaces/catch_interfaces_config.hpp
+++ b/src/catch2/interfaces/catch_interfaces_config.hpp
@@ -8,7 +8,7 @@
#ifndef TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
-#include <catch2/internal/catch_common.hpp>
+#include <catch2/internal/catch_noncopyable.hpp>
#include <chrono>
#include <iosfwd>
@@ -53,7 +53,7 @@ namespace Catch {
class TestSpec;
- struct IConfig : NonCopyable {
+ struct IConfig : Detail::NonCopyable {
virtual ~IConfig();
diff --git a/src/catch2/interfaces/catch_interfaces_registry_hub.hpp b/src/catch2/interfaces/catch_interfaces_registry_hub.hpp
index 3e99d215..14fa06a5 100644
--- a/src/catch2/interfaces/catch_interfaces_registry_hub.hpp
+++ b/src/catch2/interfaces/catch_interfaces_registry_hub.hpp
@@ -8,7 +8,6 @@
#ifndef TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED
#define TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED
-#include <catch2/internal/catch_common.hpp>
#include <catch2/internal/catch_unique_ptr.hpp>
#include <string>
@@ -25,6 +24,7 @@ namespace Catch {
struct ITagAliasRegistry;
struct ITestInvoker;
struct IMutableEnumValuesRegistry;
+ struct SourceLineInfo;
class StartupExceptionRegistry;