diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-25 17:57:07 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-25 17:57:07 +0200 |
| commit | 03fc2b0dc25ae00322c6681d99f48857ecf77935 (patch) | |
| tree | 55ee063981b6844234d0681d43148b62dd0ec9bb /src/modinfowithconflictinfo.h | |
| parent | 86f516953df9dc80c6726c30f47e15b660a89a4e (diff) | |
Update ModInfo classes following MemoizedLocked changes.
Diffstat (limited to 'src/modinfowithconflictinfo.h')
| -rw-r--r-- | src/modinfowithconflictinfo.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/modinfowithconflictinfo.h b/src/modinfowithconflictinfo.h index 3adbb998..abc9f223 100644 --- a/src/modinfowithconflictinfo.h +++ b/src/modinfowithconflictinfo.h @@ -59,7 +59,7 @@ protected: * * @return true if the content is valid, false otherwise. **/ - virtual bool doTestValid() const; + virtual bool doIsValid() const; /** * @brief Compute the contents for this mod. @@ -135,16 +135,9 @@ protected: private: - /** - * @return a file tree for this mod. - */ - std::shared_ptr<const MOBase::IFileTree> updateFileTree() const; - - MOShared::MemoizedLocked< - std::shared_ptr<const MOBase::IFileTree>, - decltype(&ModInfoWithConflictInfo::updateFileTree)> m_FileTree; - MOShared::MemoizedLocked<bool, decltype(&ModInfoWithConflictInfo::doTestValid)> m_Valid; - MOShared::MemoizedLocked<std::vector<EContent>, decltype(&ModInfoWithConflictInfo::doGetContents)> m_Contents; + MOShared::MemoizedLocked<std::shared_ptr<const MOBase::IFileTree>> m_FileTree; + MOShared::MemoizedLocked<bool> m_Valid; + MOShared::MemoizedLocked<std::vector<EContent>> m_Contents; MOShared::DirectoryEntry **m_DirectoryStructure; |
