diff options
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))); |
