Browse Source

Capitalisation, which actually doesn't matter.

Daniel Buckmaster 11 năm trước cách đây
mục cha
commit
ad0899ae27

+ 1 - 1
Engine/source/testing/unitTesting.cpp

@@ -88,7 +88,7 @@ DefineConsoleFunction( runAllUnitTests, int, (),,
    // Release the default listener.
    // Release the default listener.
    delete listeners.Release( listeners.default_result_printer() );
    delete listeners.Release( listeners.default_result_printer() );
 
 
-   if ( Con::getBoolVariable( "$testing::checkMemoryLeaks", false ) ) {
+   if ( Con::getBoolVariable( "$Testing::CheckMemoryLeaks", false ) ) {
       // Add the memory leak tester.
       // Add the memory leak tester.
       listeners.Append( new testing::MemoryLeakDetector );
       listeners.Append( new testing::MemoryLeakDetector );
    }
    }