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

summaryrefslogtreecommitdiffhomepage
path: root/single_include/catch.hpp
diff options
context:
space:
mode:
authorPhil Nash2015-11-06 18:06:56 +0000
committerPhil Nash2015-11-06 18:07:29 +0000
commit92356769f15fbdf97737809e6381bb4aa11adcc5 (patch)
treee7f13e2025f5ea6f2a7249bf5ee6c22e4681ff3c /single_include/catch.hpp
parentd10b73f9f178ea99e447d6e854fa110948eaa0a0 (diff)
downloadcatch3-1.3.0-develop.2.tar.gz
dev build 2v1.3.0-develop.2
Diffstat (limited to 'single_include/catch.hpp')
-rw-r--r--single_include/catch.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/single_include/catch.hpp b/single_include/catch.hpp
index f50973a1..e9ed2436 100644
--- a/single_include/catch.hpp
+++ b/single_include/catch.hpp
@@ -1,6 +1,6 @@
/*
- * Catch v1.3.0-develop.1
- * Generated: 2015-11-05 18:47:08.462966
+ * Catch v1.3.0-develop.2
+ * Generated: 2015-11-06 18:05:44.676531
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
@@ -862,7 +862,8 @@ namespace Matchers {
namespace Generic {
template<typename ExpressionT>
- struct Not : public MatcherImpl<Not<ExpressionT>, ExpressionT> {
+ class Not : public MatcherImpl<Not<ExpressionT>, ExpressionT> {
+ public:
explicit Not( Matcher<ExpressionT> const& matcher ) : m_matcher(matcher.clone()) {}
Not( Not const& other ) : m_matcher( other.m_matcher ) {}
@@ -873,7 +874,7 @@ namespace Matchers {
virtual std::string toString() const CATCH_OVERRIDE {
return "not " + m_matcher->toString();
}
-
+ private:
Ptr< Matcher<ExpressionT> > m_matcher;
};
@@ -7238,7 +7239,7 @@ namespace Catch {
return os;
}
- Version libraryVersion( 1, 3, 0, "develop", 1 );
+ Version libraryVersion( 1, 3, 0, "develop", 2 );
}