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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2012-09-20 08:17:52 +0100
committerPhil Nash2012-09-20 08:17:52 +0100
commit61964881c77b4fed7fdf9b5d4af45f1fc8846c8a (patch)
treef797cba942bad21787648a36987c021c78c9dcb4 /include
parentfc1baac7f591e7d161fb7f2f30db33da51f94cb6 (diff)
downloadcatch3-61964881c77b4fed7fdf9b5d4af45f1fc8846c8a.tar.gz
Added copy ctor to ReporterConfig to get rid of warnings
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_interfaces_reporter.h11
-rw-r--r--include/internal/catch_tags.h14
-rw-r--r--include/internal/catch_tags.hpp9
3 files changed, 34 insertions, 0 deletions
diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h
index da3cf79a..58b45a4a 100644
--- a/include/internal/catch_interfaces_reporter.h
+++ b/include/internal/catch_interfaces_reporter.h
@@ -31,10 +31,21 @@ namespace Catch
fullConfig( _fullConfig )
{}
+ ReporterConfig( const ReporterConfig& other )
+ : name( other.name ),
+ stream( other.stream ),
+ includeSuccessfulResults( other.includeSuccessfulResults ),
+ fullConfig( other.fullConfig )
+ {}
+
+
std::string name;
std::ostream& stream;
bool includeSuccessfulResults;
ConfigData fullConfig;
+
+ private:
+ void operator=(const ReporterConfig&);
};
class TestCaseInfo;
diff --git a/include/internal/catch_tags.h b/include/internal/catch_tags.h
new file mode 100644
index 00000000..f07ff62c
--- /dev/null
+++ b/include/internal/catch_tags.h
@@ -0,0 +1,14 @@
+//
+// catch_tags.h
+// CatchSelfTest
+//
+// Created by Phil Nash on 19/09/2012.
+//
+//
+
+#ifndef __CatchSelfTest__catch_tags__
+#define __CatchSelfTest__catch_tags__
+
+#include <iostream>
+
+#endif /* defined(__CatchSelfTest__catch_tags__) */
diff --git a/include/internal/catch_tags.hpp b/include/internal/catch_tags.hpp
new file mode 100644
index 00000000..2a012d8b
--- /dev/null
+++ b/include/internal/catch_tags.hpp
@@ -0,0 +1,9 @@
+//
+// catch_tags.hpp
+// CatchSelfTest
+//
+// Created by Phil Nash on 19/09/2012.
+//
+//
+
+#include "catch_tags.h"