diff options
Diffstat (limited to 'cpp/test/IceUtil/thread/GCSharedTest.cpp')
-rw-r--r-- | cpp/test/IceUtil/thread/GCSharedTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/IceUtil/thread/GCSharedTest.cpp b/cpp/test/IceUtil/thread/GCSharedTest.cpp index 73b7cc3c355..94c221dd67a 100644 --- a/cpp/test/IceUtil/thread/GCSharedTest.cpp +++ b/cpp/test/IceUtil/thread/GCSharedTest.cpp @@ -27,13 +27,13 @@ struct TestClass : public Thread, GCShared bool basesAreVirtual() { - GCShared::_noDelete = true; - Thread::_noDelete = false; + GCShared::_noDelete = false; + Thread::_noDelete = true; // // If we have virtual bases, there will be only one instance of the IceUtil::Shared base class, - // so GCShared::_noDelete will be false after the second assignment. + // so GCShared::_noDelete will be true after the second assignment. // - return !GCShared::_noDelete; + return GCShared::_noDelete; } }; |