mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
refactor: replace remaining NULL with nullptr (#40053)
refactor: use nullptr everywhere
This commit is contained in:
@@ -60,7 +60,7 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
#if defined(HELPER_EXECUTABLE) && !IS_MAS_BUILD()
|
||||
uint32_t exec_path_size = 0;
|
||||
int rv = _NSGetExecutablePath(NULL, &exec_path_size);
|
||||
int rv = _NSGetExecutablePath(nullptr, &exec_path_size);
|
||||
if (rv != -1) {
|
||||
FatalError("_NSGetExecutablePath: get length failed.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user