]> www.ginac.de Git - ginac.git/blobdiff - check/test_runner.h
Replace use of NULL by C++11 nullptr.
[ginac.git] / check / test_runner.h
index fbc5a3298f1fc9359fc04c231e41508f9b17d47a..48df1f44d927cfdb0ccc36e7f843c8a91ea1638f 100644 (file)
@@ -70,7 +70,7 @@ static int run_expensive_timings_p()
        static const std::string env_name("GINAC_RUN_EXPENSIVE_TIMINGS");
        if (cc++ == 0) {
                char* envvar = std::getenv(env_name.c_str());
-               if (envvar != NULL) {
+               if (envvar != nullptr) {
                        value = std::atoi(envvar);
                        if (value < 0 || value > 2)
                                value = 0;