diff options
Diffstat (limited to 'include/datetime/menu.h')
-rw-r--r-- | include/datetime/menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/datetime/menu.h b/include/datetime/menu.h index a95be10..7b351c3 100644 --- a/include/datetime/menu.h +++ b/include/datetime/menu.h @@ -70,12 +70,12 @@ private: class MenuFactory { public: - MenuFactory (const std::shared_ptr<Actions>& actions, const std::shared_ptr<State>& state); + MenuFactory (const std::shared_ptr<Actions>& actions, const std::shared_ptr<const State>& state); std::shared_ptr<Menu> buildMenu(Menu::Profile profile); private: std::shared_ptr<Actions> m_actions; - std::shared_ptr<State> m_state; + std::shared_ptr<const State> m_state; }; } // namespace datetime |