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

@ -13,7 +13,7 @@
#include "download.h"
#include "taskmanager.h"
class Collection : protected Loggable {
class Collection : protected Loggable, public std::enable_shared_from_this<Collection> {
using Sources = std::set<std::string>;
using Downloads = std::map<std::string, std::unique_ptr<Download>>;
using Components = std::map<std::string, std::unique_ptr<Component>>;