diff options
author | Max Horn | 2006-06-03 13:33:39 +0000 |
---|---|---|
committer | Max Horn | 2006-06-03 13:33:39 +0000 |
commit | 76116f36dd946ee49863a356f03eac8a05f22dcb (patch) | |
tree | 88e02bbb766096c6d24022eac5c4c636e8144655 /gui/object.h | |
parent | 50cbb8ca809e7e2d6320e72232b4849180cc6f3e (diff) | |
download | scummvm-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/object.h')
-rw-r--r-- | gui/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/object.h b/gui/object.h index cb553fa1a7..60e51e3b94 100644 --- a/gui/object.h +++ b/gui/object.h @@ -65,7 +65,7 @@ protected: public: GuiObject(int x, int y, int w, int h) : _x(x), _y(y), _w(w), _h(h), _firstWidget(0), _name("") { } - GuiObject(Common::String name); + GuiObject(const Common::String &name); virtual int16 getAbsX() const { return _x; } virtual int16 getAbsY() const { return _y; } |