forked from catchorg/Catch2
Added a couple more unimplemented assignment operators to silence VS2013 warnings
This commit is contained in:
@@ -32,6 +32,9 @@ namespace Catch {
|
|||||||
template<typename T> STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator % ( T const& );
|
template<typename T> STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator % ( T const& );
|
||||||
template<typename T> STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator && ( T const& );
|
template<typename T> STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator && ( T const& );
|
||||||
template<typename T> STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator || ( T const& );
|
template<typename T> STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& operator || ( T const& );
|
||||||
|
|
||||||
|
private:
|
||||||
|
DecomposedExpression& operator = (DecomposedExpression const&);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AssertionInfo
|
struct AssertionInfo
|
||||||
|
@@ -29,6 +29,8 @@ namespace Matchers {
|
|||||||
protected:
|
protected:
|
||||||
virtual std::string describe() const = 0;
|
virtual std::string describe() const = 0;
|
||||||
mutable std::string m_cachedToString;
|
mutable std::string m_cachedToString;
|
||||||
|
private:
|
||||||
|
MatcherUntypedBase& operator = (MatcherUntypedBase const&);
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename ArgT>
|
template<typename ArgT>
|
||||||
|
Reference in New Issue
Block a user