diff options
| author | Al <26797547+Al12rs@users.noreply.github.com> | 2020-11-28 06:32:09 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-28 06:32:09 -0800 |
| commit | 2c115e48cc42f89250bbca7e2b5b75d5dcad8695 (patch) | |
| tree | bff3fc474a4527331c99ddb981f88c49cb7fd286 /src/modinfowithconflictinfo.h | |
| parent | dffec4fd9dfa6860a62b4c59fe75c03006a37146 (diff) | |
| parent | ef1188811633e8c1403f960c9196de92d0a81020 (diff) | |
Merge pull request #1301 from ModOrganizer2/iplugingame-saves
IPluginGame::listSaves
Diffstat (limited to 'src/modinfowithconflictinfo.h')
| -rw-r--r-- | src/modinfowithconflictinfo.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modinfowithconflictinfo.h b/src/modinfowithconflictinfo.h index feded99b..0d11fcb1 100644 --- a/src/modinfowithconflictinfo.h +++ b/src/modinfowithconflictinfo.h @@ -3,7 +3,7 @@ #include <ifiletree.h> -#include "thread_utils.h" +#include "memoizedlock.h" #include "modinfo.h" #include <set> @@ -34,7 +34,9 @@ public: * * @return true if the content is there, false otherwise. */ - virtual bool hasContent(int content) const override; /** + virtual bool hasContent(int content) const override; + + /** * @brief Retrieve a file tree corresponding to the underlying disk content * of this mod. * @@ -145,9 +147,9 @@ protected: private: - MOShared::MemoizedLocked<std::shared_ptr<const MOBase::IFileTree>> m_FileTree; - MOShared::MemoizedLocked<bool> m_Valid; - MOShared::MemoizedLocked<std::set<int>> m_Contents; + MOBase::MemoizedLocked<std::shared_ptr<const MOBase::IFileTree>> m_FileTree; + MOBase::MemoizedLocked<bool> m_Valid; + MOBase::MemoizedLocked<std::set<int>> m_Contents; MOShared::DirectoryEntry **m_DirectoryStructure; |
