Modernize to C++11: NULL => nullptr.
No functional change.
This commit is contained in:
parent
9c74ea4bf4
commit
fab02809c6
29 changed files with 82 additions and 82 deletions
|
@ -54,7 +54,7 @@ void NodeBindingsMac::PollEvents() {
|
|||
// Wait for new libuv events.
|
||||
int r;
|
||||
do {
|
||||
r = select(fd + 1, &readset, NULL, NULL, timeout == -1 ? NULL : &tv);
|
||||
r = select(fd + 1, &readset, nullptr, nullptr, timeout == -1 ? nullptr : &tv);
|
||||
} while (r == -1 && errno == EINTR);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue