diff options
author | scivision <scivision@users.noreply.github.com> | 2023-02-14 14:06:08 -0500 |
---|---|---|
committer | scivision <scivision@users.noreply.github.com> | 2023-02-14 14:34:03 -0500 |
commit | 7b0a629693bb3771eed9d922b8138ccc6e5ae0c2 (patch) | |
tree | cec26df2a6554f9a7031646931dfb1ec6f70912b /Source/cmFileLockWin32.cxx | |
parent | 283432a1aaa72cd0dc5c0bd0e301bccfd52edd01 (diff) | |
download | cmake-7b0a629693bb3771eed9d922b8138ccc6e5ae0c2.tar.gz |
Source: use C++11 nullptr
Diffstat (limited to 'Source/cmFileLockWin32.cxx')
-rw-r--r-- | Source/cmFileLockWin32.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileLockWin32.cxx b/Source/cmFileLockWin32.cxx index b8e435aa53..7bee5f22bd 100644 --- a/Source/cmFileLockWin32.cxx +++ b/Source/cmFileLockWin32.cxx @@ -36,9 +36,9 @@ cmFileLockResult cmFileLock::OpenFile() { const DWORD access = GENERIC_READ | GENERIC_WRITE; const DWORD shareMode = FILE_SHARE_READ | FILE_SHARE_WRITE; - const PSECURITY_ATTRIBUTES security = NULL; + const PSECURITY_ATTRIBUTES security = nullptr; const DWORD attr = 0; - const HANDLE templ = NULL; + const HANDLE templ = nullptr; this->File = CreateFileW( cmSystemTools::ConvertToWindowsExtendedPath(this->Filename).c_str(), access, shareMode, security, OPEN_EXISTING, attr, templ); |