mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Linux: Make the C++ code compatible with old compilers (g++ 4.4.7 on CentOS 6)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user