diff options
| author | 2022-07-22 18:33:38 +0100 | |
|---|---|---|
| committer | 2022-07-22 18:53:21 +0100 | |
| commit | 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch) | |
| tree | 5357669e57bb381c80bfdbd24ed4057a99db8e5b /src/threadsocket.cpp | |
| parent | Update author list. (diff) | |
Switch from NULL to nullptr.
Diffstat (limited to 'src/threadsocket.cpp')
| -rw-r--r-- | src/threadsocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threadsocket.cpp b/src/threadsocket.cpp index 93fae7f65..86b36eac0 100644 --- a/src/threadsocket.cpp +++ b/src/threadsocket.cpp @@ -67,7 +67,7 @@ public: SocketThread::SocketThread() { - socket = NULL; + socket = nullptr; int fd = eventfd(0, EFD_NONBLOCK); if (fd < 0) throw CoreException("Could not create pipe " + std::string(strerror(errno))); @@ -127,7 +127,7 @@ public: SocketThread::SocketThread() { - socket = NULL; + socket = nullptr; int fds[2]; if (pipe(fds)) throw CoreException("Could not create pipe " + std::string(strerror(errno))); |
