aboutsummaryrefslogtreecommitdiff
path: root/src/build-remote/build-remote.cc
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-07-23 21:06:55 +0200
committerJade Lovelace <lix@jade.fyi>2024-07-23 21:06:55 +0200
commit2436f2110af7cf305ebe5198e5e330cfcdd3a2c6 (patch)
tree131a0049f61c7a4459f4f53fa43079f45175e01d /src/build-remote/build-remote.cc
parent916b5c68fb14fd77c739b05595211b2b008f99f9 (diff)
tree-wide: NULL -> nullptr
This is slightly more type safe and is more in line with modern C++. Change-Id: Ia7a8df1c7788085020d1bdc941d6f9cee356144e
Diffstat (limited to 'src/build-remote/build-remote.cc')
-rw-r--r--src/build-remote/build-remote.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc
index fb90403a0..99bbc62d5 100644
--- a/src/build-remote/build-remote.cc
+++ b/src/build-remote/build-remote.cc
@@ -236,9 +236,9 @@ static int main_build_remote(int argc, char * * argv)
}
#if __APPLE__
- futimes(bestSlotLock.get(), NULL);
+ futimes(bestSlotLock.get(), nullptr);
#else
- futimens(bestSlotLock.get(), NULL);
+ futimens(bestSlotLock.get(), nullptr);
#endif
lock.reset();