mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 06:05:36 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user