diff options
| author | 2022-07-22 18:33:38 +0100 | |
|---|---|---|
| committer | 2022-07-22 18:53:21 +0100 | |
| commit | 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch) | |
| tree | 5357669e57bb381c80bfdbd24ed4057a99db8e5b /src/modules/m_ircv3_batch.cpp | |
| parent | Update author list. (diff) | |
Switch from NULL to nullptr.
Diffstat (limited to 'src/modules/m_ircv3_batch.cpp')
| -rw-r--r-- | src/modules/m_ircv3_batch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ircv3_batch.cpp b/src/modules/m_ircv3_batch.cpp index 7d81c60a5..065a543a4 100644 --- a/src/modules/m_ircv3_batch.cpp +++ b/src/modules/m_ircv3_batch.cpp @@ -163,7 +163,7 @@ public: return; // Mark batch as stopped - batch.manager = NULL; + batch.manager = nullptr; BatchInfo& batchinfo = *batch.batchinfo; // Send end batch message to all users who got the batch start message and unset bit so it can be reused @@ -176,7 +176,7 @@ public: // erase() not swaperase because the reftag generation logic depends on the order of the elements stdalgo::erase(active_batches, &batch); delete batch.batchinfo; - batch.batchinfo = NULL; + batch.batchinfo = nullptr; } }; |
