From 48686457c762bc1f1ad414f6e609b7bc56f958b5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 16:19:01 +0100 Subject: loplugin:nullptr (automatic rewrite; Mac-specific code) Change-Id: Ifbd1840464debfcdd0d390becc3fd72596c56669 --- desktop/source/app/app.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 97a6c2494d45..3927840c44a2 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1155,7 +1155,7 @@ void restartOnMac(bool passArguments) { { argPtrs.push_back(i->getStr()); } - argPtrs.push_back(0); + argPtrs.push_back(nullptr); execv(execPath8.getStr(), const_cast< char ** >(&argPtrs[0])); if (errno == ENOTSUP) { // happens when multithreaded on OS X < 10.6 pid_t pid = fork(); -- cgit