From db255db61cddbc99fffb8216d0921ccdce677b44 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Sep 2023 23:13:57 +0200 Subject: [PATCH] Use C++11 nullptr in CEF helper process in the sample This fixes its compilation under Mac and also avoids triggering the check forbidding the use of NULL in the new code. --- samples/webview/cef_process_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/webview/cef_process_helper.cpp b/samples/webview/cef_process_helper.cpp index 6e7c9c317d..f30255f98b 100644 --- a/samples/webview/cef_process_helper.cpp +++ b/samples/webview/cef_process_helper.cpp @@ -15,5 +15,5 @@ int main(int argc, char* argv[]) { CefMainArgs main_args(argc, argv); // Execute the secondary process. - return CefExecuteProcess(main_args, NULL, NULL); + return CefExecuteProcess(main_args, nullptr, nullptr); }