summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-01 16:43:09 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-01 16:43:09 +0200
commit735ec67aeb40e04a2cf47fa7216b2030c66b37fd (patch)
tree746450a416e883ffb79900003a856a82a8862093
parent61ded13eaa25b332208cd659c5c844890db0cb57 (diff)
HashMember::get() with numeric index was wrong
-rw-r--r--include/hashmember.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hashmember.h b/include/hashmember.h
index 6603b57..9a2d5e8 100644
--- a/include/hashmember.h
+++ b/include/hashmember.h
@@ -443,7 +443,7 @@ public:
virtual void set(int index, const Value &value) override
{
// get the current value
- Value current(value());
+ Value current(this->value());
// add the value
current[index] = value;