src/ringFinder.cpp

changeset 984
a7b6f987d269
parent 968
4b93b7963456
child 985
ed7b31b9f904
--- 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);
 }
 
 //

mercurial