mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
NULL to nullptr
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user