actions: use shared_ptr to store actions

This commit is contained in:
Andrzej Rybczak
2016-12-07 19:02:47 +01:00
parent 59197f23d0
commit 56cb940a12
8 changed files with 47 additions and 35 deletions

View File

@@ -216,7 +216,9 @@ private:
};
BaseAction &get(Type at);
BaseAction *get(const std::string &name);
std::shared_ptr<BaseAction> get_(Type at);
std::shared_ptr<BaseAction> get_(const std::string &name);
struct Dummy: BaseAction
{