summaryrefslogtreecommitdiff
path: root/src/core/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/script')
-rw-r--r--src/core/script/Variant.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/script/Variant.hpp b/src/core/script/Variant.hpp
index 208bfa5..b2b650b 100644
--- a/src/core/script/Variant.hpp
+++ b/src/core/script/Variant.hpp
@@ -233,7 +233,7 @@ public:
}
}
- std::string getStringValue() const
+ const std::string& getStringValue() const
{
switch (type) {
case VariantType::string: