diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-09-26 07:12:21 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-09-26 07:12:21 -0700 |
commit | ecfca6b1197658afb85fffd6f6ac9e92311a4b07 (patch) | |
tree | d4b2d1a8717db60a1a2a5767c0ffe21dd79f158f /src | |
parent | ffdaa0590d33ea89d116f6c56df2474cc0675ec9 (diff) |
Renamed member class to hashmember, because we're going to use the member class for specifying class information
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); } /** |