mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-24 05:21:33 +00:00
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte
This commit is contained in:
@@ -141,7 +141,7 @@ namespace VeraCrypt
|
||||
|
||||
void EncryptionTestDialog::GetTextCtrlData (wxTextCtrl *textCtrl, Buffer &buffer) const
|
||||
{
|
||||
vector <byte> data;
|
||||
vector <uint8> data;
|
||||
string dataStr = StringConverter::ToSingle (wstring (textCtrl->GetValue()));
|
||||
|
||||
for (size_t i = 0; i < dataStr.size() / 2; ++i)
|
||||
@@ -153,7 +153,7 @@ namespace VeraCrypt
|
||||
throw StringConversionFailed (SRC_POS);
|
||||
}
|
||||
|
||||
data.push_back ((byte) dataByte);
|
||||
data.push_back ((uint8) dataByte);
|
||||
}
|
||||
|
||||
if (data.empty())
|
||||
|
||||
Reference in New Issue
Block a user