diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/includes.h | 2 | ||||
-rw-r--r-- | src/value.cpp | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/includes.h b/src/includes.h index 20e7e95..5602e06 100644 --- a/src/includes.h +++ b/src/includes.h @@ -42,7 +42,7 @@ #include "../include/byval.h" #include "../include/byref.h" #include "../include/global.h" -#include "../include/member.h" +#include "../include/hashmember.h" #include "../include/parameters.h" #include "../include/function.h" #include "../include/base.h" diff --git a/src/value.cpp b/src/value.cpp index 2a571ab..0f6951b 100644 --- a/src/value.cpp +++ b/src/value.cpp @@ -778,33 +778,33 @@ const Value &Value::set(const char *key, int size, const Value &value) * Array access operator * This can be used for accessing arrays * @param index - * @return Member + * @return HashMember */ -Member<int> Value::operator[](int index) +HashMember<int> Value::operator[](int index) { - return Member<int>(this, index); + return HashMember<int>(this, index); } /** * Array access operato * This can be used for accessing associative arrays * @param key - * @return Member + * @return HashMember */ -Member<std::string> Value::operator[](const std::string &key) +HashMember<std::string> Value::operator[](const std::string &key) { - return Member<std::string>(this, key); + return HashMember<std::string>(this, key); } /** * Array access operator * This can be used for accessing associative arrays * @param key - * @return Member + * @return HashMember */ -Member<std::string> Value::operator[](const char *key) +HashMember<std::string> Value::operator[](const char *key) { - return Member<std::string>(this, key); + return HashMember<std::string>(this, key); } /** |