mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-20 10:44:34 +00:00
refactor(Core): replace NULL with nullptr (#4593)
This commit is contained in:
@@ -24,9 +24,9 @@ public:
|
||||
[[nodiscard]] Reference<TO, FROM> const* getLast() const { return ((Reference<TO, FROM> const*) LinkedListHead::getLast()); }
|
||||
|
||||
iterator begin() { return iterator(getFirst()); }
|
||||
iterator end() { return iterator(NULL); }
|
||||
iterator end() { return iterator(nullptr); }
|
||||
iterator rbegin() { return iterator(getLast()); }
|
||||
iterator rend() { return iterator(NULL); }
|
||||
iterator rend() { return iterator(nullptr); }
|
||||
|
||||
void clearReferences()
|
||||
{
|
||||
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
// Create new link
|
||||
void link(TO* toObj, FROM* fromObj)
|
||||
{
|
||||
ASSERT(fromObj); // fromObj MUST not be NULL
|
||||
ASSERT(fromObj); // fromObj MUST not be nullptr
|
||||
if (isValid())
|
||||
unlink();
|
||||
if (toObj != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user