aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/objects.h')
-rw-r--r--engines/fullpipe/objects.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h
index a8cd846631..78165c4f8d 100644
--- a/engines/fullpipe/objects.h
+++ b/engines/fullpipe/objects.h
@@ -90,10 +90,10 @@ class GameVar : public CObject {
virtual bool load(MfcArchive &file);
virtual void save(MfcArchive &file);
- GameVar *getSubVarByName(Common::String name);
- bool setSubVarAsInt(Common::String name, int value);
- int getSubVarAsInt(Common::String name);
- GameVar *addSubVarAsInt(Common::String name, int value);
+ GameVar *getSubVarByName(const Common::String &name);
+ bool setSubVarAsInt(const Common::String &name, int value);
+ int getSubVarAsInt(const Common::String &name);
+ GameVar *addSubVarAsInt(const Common::String &name, int value);
bool addSubVar(GameVar *subvar);
int getSubVarsCount();
GameVar *getSubVarByIndex(int idx);