mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-20 13:21:12 +00:00
Use ConstBytePtr in TestDataNameValuePairs (GH #827)
This commit is contained in:
parent
38a4bb55cf
commit
a11ac1e879
@ -281,7 +281,7 @@ public:
|
||||
{
|
||||
m_temp.clear();
|
||||
PutDecodedDatumInto(m_data, name, StringSink(m_temp).Ref());
|
||||
reinterpret_cast<ConstByteArrayParameter *>(pValue)->Assign(BytePtr(m_temp), BytePtrSize(m_temp), false);
|
||||
reinterpret_cast<ConstByteArrayParameter *>(pValue)->Assign(ConstBytePtr(m_temp), BytePtrSize(m_temp), false);
|
||||
}
|
||||
else
|
||||
throw ValueTypeMismatch(name, typeid(std::string), valueType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user