]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.cpp
Use C++11 'nullptr' where applicable.
[ginac.git] / ginac / relational.cpp
index 8b18897eb927df8947b4587ef0866e5d9aa06589..72d19f5d08e8431b4de6707323b3382d6a8d7b3b 100644 (file)
@@ -298,7 +298,7 @@ unsigned relational::calchash() const
 
 relational::safe_bool relational::make_safe_bool(bool cond) const
 {
 
 relational::safe_bool relational::make_safe_bool(bool cond) const
 {
-       return cond? &safe_bool_helper::nonnull : 0;
+       return cond? &safe_bool_helper::nonnull : nullptr;
 }
 
 /** Cast the relational into a Boolean, mainly for evaluation within an
 }
 
 /** Cast the relational into a Boolean, mainly for evaluation within an