- Rewind Message prior to access for peekValueType.
Fixes #8 (cherry picked from commit f8bed4b0faa2c0a2bc7037f3a55105060d56dbdb)
This commit is contained in:
1 parent
a6bb8c070e
commit
eb58d2fa52
1 file changed
+1
@@ -51,6 +51,7 @@ void Variant::deserializeFrom(Message& msg)
|
||||
|
||||
std::string Variant::peekValueType() const
|
||||
{
|
||||
msg_.rewind(false);
|
||||
std::string type;
|
||||
std::string contents;
|
||||
msg_.peekType(type, contents);
|
||||
|
||||
Reference in new issue
Block a user