summaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
authorandot <mabingyao@gmail.com>2014-07-23 14:39:05 +0800
committerandot <mabingyao@gmail.com>2014-07-23 14:39:05 +0800
commitcaa165ece89136a4ef6bde87df865d4288ff94cf (patch)
tree5994fc7695a79668a32c78999a3376c3cdb3edd8 /include/base.h
parent2abffa80e10a9e0c4203310f0fa5b3f6949062e1 (diff)
Fixed compatibility issue with VS2013
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/base.h b/include/base.h
index 87c7483..f5ebed1 100644
--- a/include/base.h
+++ b/include/base.h
@@ -87,7 +87,7 @@ public:
*/
Value operator[](const char *name) const
{
- return Value(this)[name];
+ return Value(this).get(name);
}
/**
@@ -97,7 +97,7 @@ public:
*/
Value operator[](const std::string &name) const
{
- return Value(this)[name];
+ return Value(this).get(name);
}
/**
@@ -107,7 +107,7 @@ public:
*/
Value property(const char *name) const
{
- return Value(this)[name];
+ return Value(this).get(name);
}
/**
@@ -117,7 +117,7 @@ public:
*/
Value property(const std::string &name) const
{
- return Value(this)[name];
+ return Value(this).get(name);
}
/**