keep on refactoring

This commit is contained in:
Blue 2023-09-27 20:30:57 -03:00
parent d30e6ed759
commit b07d017f86
Signed by: blue
GPG key ID: 9B203B252A63EE38
6 changed files with 45 additions and 21 deletions

View file

@ -37,7 +37,7 @@ public:
Component(
const std::filesystem::path& path,
const std::shared_ptr<Collection>& collection,
const std::weak_ptr<Collection>& collection,
const std::shared_ptr<Logger>& logger
);
@ -55,7 +55,7 @@ private:
private:
State state;
Type type;
std::shared_ptr<Collection> collection;
std::weak_ptr<Collection> collection;
std::filesystem::path location;
std::optional<nlohmann::json> scenario;
};