aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
diff options
context:
space:
mode:
authorMax Horn2006-06-03 13:33:39 +0000
committerMax Horn2006-06-03 13:33:39 +0000
commit76116f36dd946ee49863a356f03eac8a05f22dcb (patch)
tree88e02bbb766096c6d24022eac5c4c636e8144655 /gui/dialog.h
parent50cbb8ca809e7e2d6320e72232b4849180cc6f3e (diff)
downloadscummvm-rg350-76116f36dd946ee49863a356f03eac8a05f22dcb.tar.gz
scummvm-rg350-76116f36dd946ee49863a356f03eac8a05f22dcb.tar.bz2
scummvm-rg350-76116f36dd946ee49863a356f03eac8a05f22dcb.zip
*Loads* of Common::String related optimizations. Woa, *tons* of methods were copying strings needlessly
svn-id: r22873
Diffstat (limited to 'gui/dialog.h')
-rw-r--r--gui/dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h
index f14bc06015..4371cd3d4e 100644
--- a/gui/dialog.h
+++ b/gui/dialog.h
@@ -53,7 +53,7 @@ private:
public:
Dialog(int x, int y, int w, int h, bool dimsInactive = true);
- Dialog(Common::String name, bool dimsInactive = true);
+ Dialog(const Common::String &name, bool dimsInactive = true);
virtual ~Dialog();
virtual int runModal();