diff options
-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); |