aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2006-03-24 15:39:07 +0000
committerMax Horn2006-03-24 15:39:07 +0000
commit7307c4cb3d9bcb0cb4676803bf619e072f6b0076 (patch)
tree10f67c37656e820ddddfaea022fd45771c00e221 /gui
parent1f9566129c8f62ee1b2b866eba0bd4021781f919 (diff)
downloadscummvm-rg350-7307c4cb3d9bcb0cb4676803bf619e072f6b0076.tar.gz
scummvm-rg350-7307c4cb3d9bcb0cb4676803bf619e072f6b0076.tar.bz2
scummvm-rg350-7307c4cb3d9bcb0cb4676803bf619e072f6b0076.zip
- moved type aa_ref_t into AssocArray, improving code readability a bit
- added new "operator[] const" method, useful when accessing const instances - removed the default value (if you access an entry without first checking that it is actually there, it's your own fault) - replaced 'index' with 'key' which seems more logical and avoids troubles with certain systems that #define index in their system headers svn-id: r21430
Diffstat (limited to 'gui')
-rw-r--r--gui/eval.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/eval.cpp b/gui/eval.cpp
index a2cea2b914..5dcfdfe124 100644
--- a/gui/eval.cpp
+++ b/gui/eval.cpp
@@ -37,8 +37,7 @@ static bool isdelim(char c) {
return false;
}
-Eval::Eval()
- : _aliases(Common::String::emptyString), _vars(0) {
+Eval::Eval() {
loadConstants();
}