diff --git a/include/super.h b/include/super.h index 7b568e09..07dc4b33 100644 --- a/include/super.h +++ b/include/super.h @@ -44,7 +44,7 @@ class Super Value operator[](const std::string &key) { // convert object to a value object, and retrieve the key - return value()[key]; + return value().get(key); } /** @@ -56,7 +56,7 @@ class Super Value operator[](const char *key) { // convert object to a value object, and retrieve the key - return value()[key]; + return value().get(key); } /**