1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-10 15:10:33 +00:00

Response keeps a ptr to the SettingsBag now.

This commit is contained in:
King_DuckZ 2017-04-23 13:40:48 +01:00
commit 75674525de
12 changed files with 27 additions and 21 deletions

View file

@ -26,7 +26,7 @@ namespace tawashi {
class ResponseFactory {
public:
typedef std::function<std::unique_ptr<Response>(const SettingsBag&)> ResponseMakerFunc;
typedef std::function<std::unique_ptr<Response>(const Kakoune::SafePtr<SettingsBag>&)> ResponseMakerFunc;
explicit ResponseFactory (const Kakoune::SafePtr<SettingsBag>& parSettings);
~ResponseFactory() noexcept;