From 557d58af8d2c6cbb18c3506245edd06c641b5027 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 7 Jan 2016 10:55:01 +0100 Subject: BACKENDS: Make ChRootFilesystemFactory delcaration more consistent. The make* factory functions are public in the base class, thus keep the visibility the same. --- backends/fs/chroot/chroot-fs-factory.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'backends/fs/chroot/chroot-fs-factory.h') diff --git a/backends/fs/chroot/chroot-fs-factory.h b/backends/fs/chroot/chroot-fs-factory.h index 49101918ce..d3c997be6f 100644 --- a/backends/fs/chroot/chroot-fs-factory.h +++ b/backends/fs/chroot/chroot-fs-factory.h @@ -32,16 +32,15 @@ * plugin code. */ class ChRootFilesystemFactory : public FilesystemFactory { -private: - Common::String _root; +public: + ChRootFilesystemFactory(Common::String root); -protected: virtual AbstractFSNode *makeRootFileNode() const; virtual AbstractFSNode *makeCurrentDirectoryFileNode() const; virtual AbstractFSNode *makeFileNodePath(const Common::String &path) const; -public: - ChRootFilesystemFactory(Common::String root); +private: + Common::String _root; }; #endif /* BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H */ -- cgit v1.2.3