diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:47:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:20:40 +0200 |
| commit | d13f6bb870cdda71257f665367be8ef9fca86255 (patch) | |
| tree | 52e214718478f1e52856572f5aa1a2ac58537f9f /src/virtualfiletree.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/virtualfiletree.h')
| -rw-r--r-- | src/virtualfiletree.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/virtualfiletree.h b/src/virtualfiletree.h index ebce5486..de3e6f71 100644 --- a/src/virtualfiletree.h +++ b/src/virtualfiletree.h @@ -26,7 +26,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. namespace MOShared { - class DirectoryEntry; +class DirectoryEntry; } /** @@ -38,9 +38,9 @@ namespace MOShared * This class does not expose mutable operations, so any mutable operations will * fail. */ -class VirtualFileTree : public MOBase::IFileTree { +class VirtualFileTree : public MOBase::IFileTree +{ public: - /** * @brief Create a new file tree representing the given VFS directory. * @@ -48,13 +48,15 @@ public: * * @return a file tree representing the VFS directory. */ - static std::shared_ptr<const VirtualFileTree> makeTree(const MOShared::DirectoryEntry* root); + static std::shared_ptr<const VirtualFileTree> + makeTree(const MOShared::DirectoryEntry* root); protected: - using IFileTree::IFileTree; - virtual bool doPopulate(std::shared_ptr<const IFileTree> parent, std::vector<std::shared_ptr<FileTreeEntry>>& entries) const = 0; + virtual bool + doPopulate(std::shared_ptr<const IFileTree> parent, + std::vector<std::shared_ptr<FileTreeEntry>>& entries) const = 0; }; #endif |
