diff options
author | 2021-05-23 17:33:52 +1000 | |
---|---|---|
committer | 2021-05-23 17:33:52 +1000 | |
commit | 5fe20586ee7aeb31c9384b82712c3ba37701cee4 (patch) | |
tree | 0aa7ecec0eca58391db4760a485a3db8b08f9213 /src/lib/formats/fsmgr.h | |
parent | c6abdd77fbbdd4811dbb1c9cb954ee2e44678c33 (diff) |
srcclean for release
Diffstat (limited to 'src/lib/formats/fsmgr.h')
-rw-r--r-- | src/lib/formats/fsmgr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/formats/fsmgr.h b/src/lib/formats/fsmgr.h index 25b95cc6795..4546e83d89b 100644 --- a/src/lib/formats/fsmgr.h +++ b/src/lib/formats/fsmgr.h @@ -140,7 +140,7 @@ public: } else if(m_is_weak_ref != cref.m_is_weak_ref) { ref(); cref.unref(); - m_object = cref.m_object; // In case the object got deleted (when going from strong ref to weak on the last strong) + m_object = cref.m_object; // In case the object got deleted (when going from strong ref to weak on the last strong) } cref.m_object = nullptr; return *this; @@ -161,7 +161,7 @@ private: m_object->ref(); } } - + void unref() { if(m_object) { bool del = m_is_weak_ref ? m_object->unref_weak() : m_object->unref(); @@ -269,7 +269,7 @@ public: fsblk_t() : m_block_size(0) {} virtual ~fsblk_t() = default; - + virtual void set_block_size(uint32_t block_size); virtual uint32_t block_count() const = 0; virtual block_t get(uint32_t id) = 0; @@ -385,7 +385,7 @@ protected: }; class unformatted_floppy_creator; - + class filesystem_manager_t { public: struct floppy_enumerator { |