NULL to nullptr

This commit is contained in:
Arthur Ice
2013-05-04 18:06:58 -07:00
parent e1c2657b11
commit 7560b6b0a7
216 changed files with 4151 additions and 4151 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ public:
TEST_ASSERT(mmf.Size() == 512);
unsigned char *data = reinterpret_cast<unsigned char*>(mmf.Get());
TEST_ASSERT(data != NULL);
TEST_ASSERT(data != nullptr);
*reinterpret_cast<uint32*>(data) = 562;
}
@@ -50,7 +50,7 @@ public:
TEST_ASSERT(mmf.Size() == 512);
unsigned char *data = reinterpret_cast<unsigned char*>(mmf.Get());
TEST_ASSERT(data != NULL);
TEST_ASSERT(data != nullptr);
uint32 val = *reinterpret_cast<uint32*>(data);
TEST_ASSERT(val == 562);