diff --git a/src/vmime/platforms/windows/windowsFile.cpp b/src/vmime/platforms/windows/windowsFile.cpp index 6aa0fea8..0ab90b16 100644 --- a/src/vmime/platforms/windows/windowsFile.cpp +++ b/src/vmime/platforms/windows/windowsFile.cpp @@ -310,7 +310,7 @@ bool windowsFile::exists() const shared_ptr windowsFile::getParent() const { if (m_path.isEmpty()) - return NULL; + return null; else return make_shared (m_path.getParent()); } diff --git a/src/vmime/platforms/windows/windowsHandler.cpp b/src/vmime/platforms/windows/windowsHandler.cpp index 4bc32dae..7376606e 100644 --- a/src/vmime/platforms/windows/windowsHandler.cpp +++ b/src/vmime/platforms/windows/windowsHandler.cpp @@ -293,7 +293,7 @@ shared_ptr windowsHandler::getFileSystemFact shared_ptr windowsHandler::getChildProcessFactory() { // TODO: Not implemented - return (NULL); + return null; } #endif diff --git a/src/vmime/platforms/windows/windowsSocket.cpp b/src/vmime/platforms/windows/windowsSocket.cpp index d18fa1a1..a64498a6 100644 --- a/src/vmime/platforms/windows/windowsSocket.cpp +++ b/src/vmime/platforms/windows/windowsSocket.cpp @@ -498,7 +498,7 @@ shared_ptr windowsSocket::getTimeoutHandler() shared_ptr windowsSocketFactory::create() { - shared_ptr th = NULL; + shared_ptr th; return make_shared (th); }