]> www.ginac.de Git - ginac.git/blobdiff - ginac/excompiler.cpp
Replace use of NULL by C++11 nullptr.
[ginac.git] / ginac / excompiler.cpp
index d7897c014e92827374ebcc70d0ff11f86dc01e45..36cb8ffcf01fe203ef5ddcad686a4c521b81cb72 100644 (file)
@@ -153,9 +153,9 @@ public:
         */
        void* link_so_file(const std::string filename, bool clean_up)
        {
-               void* module = NULL;
+               void* module = nullptr;
                module = dlopen(filename.c_str(), RTLD_NOW);
-               if (module == NULL)     {
+               if (module == nullptr)  {
                        throw std::runtime_error("excompiler::link_so_file: could not open compiled module!");
                }