aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/chroot/chroot-fs-factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs/chroot/chroot-fs-factory.h')
-rw-r--r--backends/fs/chroot/chroot-fs-factory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/chroot/chroot-fs-factory.h b/backends/fs/chroot/chroot-fs-factory.h
index d3c997be6f..1a26410048 100644
--- a/backends/fs/chroot/chroot-fs-factory.h
+++ b/backends/fs/chroot/chroot-fs-factory.h
@@ -33,14 +33,14 @@
*/
class ChRootFilesystemFactory : public FilesystemFactory {
public:
- ChRootFilesystemFactory(Common::String root);
+ ChRootFilesystemFactory(const Common::String &root);
virtual AbstractFSNode *makeRootFileNode() const;
virtual AbstractFSNode *makeCurrentDirectoryFileNode() const;
virtual AbstractFSNode *makeFileNodePath(const Common::String &path) const;
private:
- Common::String _root;
+ const Common::String _root;
};
#endif /* BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H */