diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-07-11 05:01:54 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-07-11 05:01:54 +0000 |
| commit | 6943d47a76445bbfebc99859ed38698760354642 (patch) | |
| tree | ffe6390ed4d606edb9539e255232cbe95c79d2ce /examples/cppunittest/MockTestCase.cpp | |
| parent | 85aa074c02154107459755b2a3ddbc0b5767558a (diff) | |
| download | cppunit-6943d47a76445bbfebc99859ed38698760354642.tar.gz | |
added missing files
Diffstat (limited to 'examples/cppunittest/MockTestCase.cpp')
| -rw-r--r-- | examples/cppunittest/MockTestCase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cppunittest/MockTestCase.cpp b/examples/cppunittest/MockTestCase.cpp index 32892e3..e6bc335 100644 --- a/examples/cppunittest/MockTestCase.cpp +++ b/examples/cppunittest/MockTestCase.cpp @@ -33,7 +33,7 @@ MockTestCase::~MockTestCase() int MockTestCase::countTestCases() const { - MockTestCase *mutableThis = const_cast<MockTestCase *>( this ); + MockTestCase *mutableThis = CPPUNIT_CONST_CAST(MockTestCase *, this ); ++mutableThis->m_actualCountTestCasesCallCount; if ( m_expectCountTestCasesCall ) { |
