summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 13:45:01 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 13:45:01 +0100
commitf723034fe9769ac4e482194b96d59be8e6ad0b11 (patch)
treec5faa707147510da805af91c4366f0114c64a87b
parent5aaafebebe26a7205533d752503e50449bfcdd80 (diff)
Fixed bug in VariantReader::parseGenericToken when a number is at the beginning of the string
-rw-r--r--src/core/common/VariantReader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/common/VariantReader.cpp b/src/core/common/VariantReader.cpp
index bded618..600fd9b 100644
--- a/src/core/common/VariantReader.cpp
+++ b/src/core/common/VariantReader.cpp
@@ -583,6 +583,7 @@ std::pair<bool, Variant> VariantReader::parseGenericToken(
return std::make_pair(true, n.doubleValue());
}
}
+ reader.resetPeek();
}
// Try to parse an object