Part one - removed references and smart pointers
This commit is contained in:
@ -27,15 +27,11 @@
|
||||
}
|
||||
|
||||
void assertNotNull(const void *pointer) {
|
||||
assertTrue(pointer != NULL);
|
||||
}
|
||||
|
||||
void assertNotNullptr(const void *ptr) {
|
||||
assertTRue(ptr != nullptr);
|
||||
assertTrue(pointer != nullptr && pointer != NULL);
|
||||
}
|
||||
|
||||
void assertNull(const void *pointer) {
|
||||
assertTrue(pointer == NULL);
|
||||
assertTrue(pointer == NULL || pointer == nullptr);
|
||||
}
|
||||
|
||||
void assertDeprecated() {
|
||||
|
Reference in New Issue
Block a user