diff options
Diffstat (limited to 'main/cppunit/fix-Werror-deprecated-copy.patch')
| -rw-r--r-- | main/cppunit/fix-Werror-deprecated-copy.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/main/cppunit/fix-Werror-deprecated-copy.patch b/main/cppunit/fix-Werror-deprecated-copy.patch deleted file mode 100644 index 6866e93aeb..0000000000 --- a/main/cppunit/fix-Werror-deprecated-copy.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/examples/cppunittest/OrthodoxTest.h b/examples/cppunittest/OrthodoxTest.h -index 8fc2a08..a2bc678 100644 ---- a/examples/cppunittest/OrthodoxTest.h -+++ b/examples/cppunittest/OrthodoxTest.h -@@ -38,6 +38,8 @@ private: - public: - Value( int value =0 ) : m_value( value ) {} - -+ Value( const Value & ) = default; -+ - Value& operator= ( const Value& v ) - { - m_value = v.m_value; -@@ -143,6 +145,8 @@ private: - { - return ValueBadCall( -1 - m_value ); - } -+ -+ ValueBadCall &operator =( const ValueBadCall & ) = default; - }; - - -@@ -161,6 +165,8 @@ private: - ++m_value; - return *this; - } -+ -+ ValueBadAssignment( const ValueBadAssignment & ) = default; - }; - |
