diff options
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 { |