From c4f7bf8d1346bdfc4d34af24b373e6a0aeb6cc46 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 16 Aug 2013 10:25:03 +0200 Subject: -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) --- src/cppunit/TestCase.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/cppunit/TestCase.cpp') 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; }; -- cgit v1.2.1