diff options
author | Johannes Schickel | 2008-05-07 15:09:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-07 15:09:10 +0000 |
commit | 311e9165ed3b9442049e9e5e6b25c31d024f04ac (patch) | |
tree | a72a266baf6b872300c877f5ed55e8f5cb8ac1dd /test/cxxtest | |
parent | 2d707af33825097e3fd0c001101d9a2691e9ff6f (diff) | |
download | scummvm-rg350-311e9165ed3b9442049e9e5e6b25c31d024f04ac.tar.gz scummvm-rg350-311e9165ed3b9442049e9e5e6b25c31d024f04ac.tar.bz2 scummvm-rg350-311e9165ed3b9442049e9e5e6b25c31d024f04ac.zip |
Proper delete[] formatting (this time all occurences should've been changed...)
svn-id: r31929
Diffstat (limited to 'test/cxxtest')
-rw-r--r-- | test/cxxtest/sample/CreatedTest.h | 2 | ||||
-rw-r--r-- | test/cxxtest/sample/FixtureTest.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cxxtest/sample/CreatedTest.h b/test/cxxtest/sample/CreatedTest.h index 84e8ae8a4b..53a6821a21 100644 --- a/test/cxxtest/sample/CreatedTest.h +++ b/test/cxxtest/sample/CreatedTest.h @@ -16,7 +16,7 @@ class CreatedTest : public CxxTest::TestSuite char *_buffer; public: CreatedTest( unsigned size ) : _buffer( new char[size] ) {} - virtual ~CreatedTest() { delete [] _buffer; } + virtual ~CreatedTest() { delete[] _buffer; } static CreatedTest *createSuite() { return new CreatedTest( 16 ); } static void destroySuite( CreatedTest *suite ) { delete suite; } diff --git a/test/cxxtest/sample/FixtureTest.h b/test/cxxtest/sample/FixtureTest.h index 653c7a14ae..33a119f2bd 100644 --- a/test/cxxtest/sample/FixtureTest.h +++ b/test/cxxtest/sample/FixtureTest.h @@ -22,7 +22,7 @@ public: void tearDown() { - delete [] _buffer; + delete[] _buffer; } void test_strcpy() |