diff options
author | Johannes Schickel | 2016-01-07 10:57:46 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-01-07 10:57:46 +0100 |
commit | 48df726c9e2eb2a7efa87d8893d2a507be35c3cc (patch) | |
tree | 89a314ecd89da7da9e17b64cdd7286accd6075f0 /backends/fs/chroot/chroot-fs-factory.cpp | |
parent | 557d58af8d2c6cbb18c3506245edd06c641b5027 (diff) | |
download | scummvm-rg350-48df726c9e2eb2a7efa87d8893d2a507be35c3cc.tar.gz scummvm-rg350-48df726c9e2eb2a7efa87d8893d2a507be35c3cc.tar.bz2 scummvm-rg350-48df726c9e2eb2a7efa87d8893d2a507be35c3cc.zip |
BACKENDS: Let ChRootFilesystemFactory's constructor take a const String reference.
Diffstat (limited to 'backends/fs/chroot/chroot-fs-factory.cpp')
-rw-r--r-- | backends/fs/chroot/chroot-fs-factory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/chroot/chroot-fs-factory.cpp b/backends/fs/chroot/chroot-fs-factory.cpp index fd1718a082..db5655ffce 100644 --- a/backends/fs/chroot/chroot-fs-factory.cpp +++ b/backends/fs/chroot/chroot-fs-factory.cpp @@ -30,8 +30,8 @@ #include "backends/fs/chroot/chroot-fs-factory.h" #include "backends/fs/chroot/chroot-fs.h" -ChRootFilesystemFactory::ChRootFilesystemFactory(Common::String root) { - _root = root; +ChRootFilesystemFactory::ChRootFilesystemFactory(const Common::String &root) + : _root(root) { } AbstractFSNode *ChRootFilesystemFactory::makeRootFileNode() const { |