libtest: fix #40 (use nullptr instead of NULL)
authorMichael Wallner <mike@php.net>
Tue, 21 Jan 2020 16:22:55 +0000 (17:22 +0100)
committerMichael Wallner <mike@php.net>
Tue, 21 Jan 2020 16:22:55 +0000 (17:22 +0100)
libtest/cmdline.cc

index 29a22de657df8f823b50bd7c60d2011c723e3b49..cbe8ff9a53ea70754cf7c8aa6f98c3a666c68576 100644 (file)
@@ -787,7 +787,7 @@ void Application::create_argv(const char *args[])
       vchar::append(built_argv, *ptr);
     }
   }
-  built_argv.push_back(NULL);
+  built_argv.push_back(nullptr);
 }
 
 std::string Application::print()