mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2025-08-01 02:54:26 +02:00
- Rewind Message prior to access for peekValueType.
Fixes #8 (cherry picked from commit f8bed4b0faa2c0a2bc7037f3a55105060d56dbdb)
This commit is contained in:
committed by
Stanislav Angelovič
parent
a6bb8c070e
commit
eb58d2fa52
@@ -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