summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-16 10:25:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-16 10:29:12 +0200
commitc4f7bf8d1346bdfc4d34af24b373e6a0aeb6cc46 (patch)
treeb8dd62cb0e56eea41834f437d29be8f353f34910
parentd831d2d72f93fc24462bec8f296fd870c8f8407c (diff)
-Werror,-Wbind-to-temporary-copy
"C++98 requires an accessible copy constructor for class 'CppUnit::TestCaseMethodFunctor' when binding a reference to a temporary; was private." (Clang)
-rw-r--r--src/cppunit/TestCase.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp
index 10ff578..13c0525 100644
--- a/src/cppunit/TestCase.cpp
+++ b/src/cppunit/TestCase.cpp
@@ -34,10 +34,6 @@ public:
}
private:
- // disable copying
- TestCaseMethodFunctor( const TestCaseMethodFunctor& );
- // disable copying
- TestCaseMethodFunctor& operator=( const TestCaseMethodFunctor& );
TestCase *m_target;
Method m_method;
};