diff options
author | David Robillard <d@drobilla.net> | 2018-08-04 19:16:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-08-07 20:01:08 +0200 |
commit | e0cab1aa093bfc9e15bd4c47e69328d9a46b2f15 (patch) | |
tree | 70b17c1b285e5306c244c200f9953c2c89260f77 /Hilbert | |
parent | 3d4b2c4a395932b367a5e217677c761fa68cc29a (diff) | |
download | chilbert-e0cab1aa093bfc9e15bd4c47e69328d9a46b2f15.tar.gz chilbert-e0cab1aa093bfc9e15bd4c47e69328d9a46b2f15.tar.bz2 chilbert-e0cab1aa093bfc9e15bd4c47e69328d9a46b2f15.zip |
Use nullptr
Diffstat (limited to 'Hilbert')
-rw-r--r-- | Hilbert/Algorithm.hpp | 2 | ||||
-rw-r--r-- | Hilbert/BigBitVec.hpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Hilbert/Algorithm.hpp b/Hilbert/Algorithm.hpp index 343774c..b2ad5f8 100644 --- a/Hilbert/Algorithm.hpp +++ b/Hilbert/Algorithm.hpp @@ -149,7 +149,7 @@ namespace Hilbert int m, int n, H &h, - int *ds = NULL // #HACK + int *ds = nullptr // #HACK ) { I e(n), l(n), t(n), w(n); diff --git a/Hilbert/BigBitVec.hpp b/Hilbert/BigBitVec.hpp index 9003124..24f84a2 100644 --- a/Hilbert/BigBitVec.hpp +++ b/Hilbert/BigBitVec.hpp @@ -54,7 +54,7 @@ public: if (m_iRacks > 0) { m_pcRacks = new CFixBitVec[m_iRacks]; } else { - m_pcRacks = NULL; + m_pcRacks = nullptr; } return; @@ -90,7 +90,7 @@ public: m_iRacks = cBBV.m_iRacks; m_pcRacks = cBBV.m_pcRacks; cBBV.m_iRacks = 0; - cBBV.m_pcRacks = NULL; + cBBV.m_pcRacks = nullptr; } // Copy constructor. @@ -254,7 +254,7 @@ public: m_iRacks = cBBV.m_iRacks; m_pcRacks = cBBV.m_pcRacks; cBBV.m_iRacks = 0; - cBBV.m_pcRacks = NULL; + cBBV.m_pcRacks = nullptr; } return (*this); |