refactor: simplify Mod structure
No need to keep track of pointers left and right. A single one already gives enough headaches! Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
0c9d03f5df
commit
e7cf9932a9
9 changed files with 107 additions and 118 deletions
|
@ -13,7 +13,7 @@ class LocalModParseTask : public Task
|
|||
Q_OBJECT
|
||||
public:
|
||||
struct Result {
|
||||
std::shared_ptr<ModDetails> details;
|
||||
ModDetails details;
|
||||
};
|
||||
using ResultPtr = std::shared_ptr<Result>;
|
||||
ResultPtr result() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue