diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-06-30 01:22:05 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-06-30 01:22:05 +0200 |
commit | 96974169199d347172fc5d4a2924f092d602b3de (patch) | |
tree | 627633460b7e830d7a4dcb58de37733d84742e46 /src/Common/SCardReader.cpp | |
parent | 1e7d6948c991e8c0153fdbf06d82844595c138f8 (diff) | |
download | VeraCrypt-96974169199d347172fc5d4a2924f092d602b3de.tar.gz VeraCrypt-96974169199d347172fc5d4a2924f092d602b3de.zip |
Linux: Make the C++ code compatible with old compilers (g++ 4.4.7 on CentOS 6)
Diffstat (limited to 'src/Common/SCardReader.cpp')
-rw-r--r-- | src/Common/SCardReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/SCardReader.cpp b/src/Common/SCardReader.cpp index de269ce6..6c5f654a 100644 --- a/src/Common/SCardReader.cpp +++ b/src/Common/SCardReader.cpp @@ -17,7 +17,7 @@ namespace VeraCrypt } else { - m_scardLoader = NULL; + m_scardLoader.reset(); m_hSCReaderContext = 0; } m_hCard = hCard; @@ -84,7 +84,7 @@ namespace VeraCrypt void SCardReader::Clear(void) { m_szSCReaderName = L""; - m_scardLoader = NULL; + m_scardLoader.reset(); m_hSCReaderContext = 0; m_hCard = 0; m_dwProtocol = 0; |