change: use ModStatus as a simple member instead of a pointer

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-07-06 13:21:06 -03:00
parent 47bdcb6050
commit 650af5eb64
2 changed files with 4 additions and 7 deletions

View File

@ -115,7 +115,7 @@ protected:
std::shared_ptr<Metadata::ModStruct> m_temp_metadata;
/* Set the mod status while it doesn't have local details just yet */
std::shared_ptr<ModStatus> m_temp_status;
ModStatus m_temp_status = ModStatus::NoMetadata;
std::shared_ptr<ModDetails> m_localDetails;