--- a/src/ringFinder.cpp Sun Sep 06 03:00:28 2015 +0300 +++ b/src/ringFinder.cpp Sun Sep 06 03:10:03 2015 +0300 @@ -164,15 +164,15 @@ // Compare the solutions and find the best one. The solution class has an operator> // overload to compare two solutions. - m_bestSolution = null; + m_bestSolution = nullptr; for (Solution const& sol : m_solutions) { - if (m_bestSolution == null or sol.isSuperiorTo (m_bestSolution)) + if (m_bestSolution == nullptr or sol.isSuperiorTo (m_bestSolution)) m_bestSolution = / } - return (m_bestSolution != null); + return (m_bestSolution != nullptr); } //