diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-09-12 05:46:02 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-09-12 05:46:02 -0700 |
commit | 9634a336f080bc15c1e67495eb9216d1863808f8 (patch) | |
tree | 139d3abc65f156d5e72e02364481fea370c807dc /include/value.h | |
parent | 68fd128d82819db1022137a45ca3224cee8ef029 (diff) |
It now is possible to access global variables, using environment[varname], and to set global variable using environment[varname] = "value"
Diffstat (limited to 'include/value.h')
-rw-r--r-- | include/value.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/value.h b/include/value.h index 4854437..fa2b608 100644 --- a/include/value.h +++ b/include/value.h @@ -121,14 +121,14 @@ public: * @param value * @return Value */ - virtual Value &operator=(const Value &value); + Value &operator=(const Value &value); /** * Move assignment * @param value * @return Value */ - virtual Value &operator=(Value &&value); + Value &operator=(Value &&value); /** * Assignment operator @@ -425,7 +425,7 @@ public: * @param value Value to set * @return Value The value that was set */ - const Value &set(int index, const Value &value); + virtual const Value &set(int index, const Value &value); /** * Set a certain property @@ -435,7 +435,7 @@ public: * @param value Value to set * @return Value The value that was set */ - const Value &set(const char *key, int size, const Value &value); + virtual const Value &set(const char *key, int size, const Value &value); /** * Set a certain property |