summaryrefslogtreecommitdiff
path: root/src/shared/fileregister.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2022-05-17 11:47:01 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 17:20:40 +0200
commitd13f6bb870cdda71257f665367be8ef9fca86255 (patch)
tree52e214718478f1e52856572f5aa1a2ac58537f9f /src/shared/fileregister.h
parent86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff)
Apply clang-format.
Diffstat (limited to 'src/shared/fileregister.h')
-rw-r--r--src/shared/fileregister.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/fileregister.h b/src/shared/fileregister.h
index c27dc93b..aeb2c5b7 100644
--- a/src/shared/fileregister.h
+++ b/src/shared/fileregister.h
@@ -2,8 +2,8 @@
#define MO_REGISTER_FILESREGISTER_INCLUDED
#include "fileregisterfwd.h"
-#include <mutex>
#include <boost/shared_ptr.hpp>
+#include <mutex>
namespace MOShared
{
@@ -14,13 +14,13 @@ public:
FileRegister(boost::shared_ptr<OriginConnection> originConnection);
// noncopyable
- FileRegister(const FileRegister&) = delete;
+ FileRegister(const FileRegister&) = delete;
FileRegister& operator=(const FileRegister&) = delete;
bool indexValid(FileIndex index) const;
- FileEntryPtr createFile(
- std::wstring name, DirectoryEntry *parent, DirectoryStats& stats);
+ FileEntryPtr createFile(std::wstring name, DirectoryEntry* parent,
+ DirectoryStats& stats);
FileEntryPtr getFile(FileIndex index) const;
@@ -48,6 +48,6 @@ private:
FileIndex generateIndex();
};
-} // namespace
+} // namespace MOShared
-#endif // MO_REGISTER_FILESREGISTER_INCLUDED
+#endif // MO_REGISTER_FILESREGISTER_INCLUDED