diff options
author | Max Horn | 2010-11-23 22:32:39 +0000 |
---|---|---|
committer | Max Horn | 2010-11-23 22:32:39 +0000 |
commit | 121056c12f5a624898c28a3a9a2b8b9389a97f6f (patch) | |
tree | 553ba3bbc35db9de4845e87613ec53e7ae4f1d4e /engines/mohawk/resource.cpp | |
parent | 830c39a6871ce6cae5d22bdf0f326fa063582ea7 (diff) | |
download | scummvm-rg350-121056c12f5a624898c28a3a9a2b8b9389a97f6f.tar.gz scummvm-rg350-121056c12f5a624898c28a3a9a2b8b9389a97f6f.tar.bz2 scummvm-rg350-121056c12f5a624898c28a3a9a2b8b9389a97f6f.zip |
MOHAWK: Pass objs by const ref not by value
svn-id: r54443
Diffstat (limited to 'engines/mohawk/resource.cpp')
-rw-r--r-- | engines/mohawk/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/resource.cpp b/engines/mohawk/resource.cpp index e14eabcf45..ee82bb4cea 100644 --- a/engines/mohawk/resource.cpp +++ b/engines/mohawk/resource.cpp @@ -36,7 +36,7 @@ MohawkArchive::MohawkArchive() { _fileTable = NULL; } -bool MohawkArchive::open(Common::String filename) { +bool MohawkArchive::open(const Common::String &filename) { Common::File *file = new Common::File(); if (!file->open(filename)) { |