]> www.ginac.de Git - ginac.git/blobdiff - ginac/function.hppy
Replace use of NULL by C++11 nullptr.
[ginac.git] / ginac / function.hppy
index b84364da1bdf0245662c68bf07f28d777c362d0b..a5605115164e97cd8e8982c1abb0790abb1dfea6 100644 (file)
@@ -145,8 +145,8 @@ public:
        unsigned get_nparams() const { return nparams; }
 
 protected:
-       bool has_derivative() const { return derivative_f != NULL; }
-       bool has_power() const { return power_f != NULL; }
+       bool has_derivative() const { return derivative_f != nullptr; }
+       bool has_power() const { return power_f != nullptr; }
        void test_and_set_nparams(unsigned n);
        void set_print_func(unsigned id, print_funcp f);