Use ConstBytePtr in TestDataNameValuePairs (GH #827)
parent
38a4bb55cf
commit
a11ac1e879
|
|
@ -281,7 +281,7 @@ public:
|
||||||
{
|
{
|
||||||
m_temp.clear();
|
m_temp.clear();
|
||||||
PutDecodedDatumInto(m_data, name, StringSink(m_temp).Ref());
|
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
|
else
|
||||||
throw ValueTypeMismatch(name, typeid(std::string), valueType);
|
throw ValueTypeMismatch(name, typeid(std::string), valueType);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue