aboutsummaryrefslogtreecommitdiff
path: root/src/menu.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-30 13:28:48 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-30 13:28:48 -0600
commit0f384f4c9607b785d7df4da8566fe2b869ef11e4 (patch)
tree5f257829ddefb9e0817d882469c99f69e6b62619 /src/menu.cpp
parentb56293e7b4fb4b253da17119ad153990744dac3b (diff)
downloadayatana-indicator-datetime-0f384f4c9607b785d7df4da8566fe2b869ef11e4.tar.gz
ayatana-indicator-datetime-0f384f4c9607b785d7df4da8566fe2b869ef11e4.tar.bz2
ayatana-indicator-datetime-0f384f4c9607b785d7df4da8566fe2b869ef11e4.zip
as per review, there were a few places that accidentally passed a shared_ptr<X>& instead of a const shared_ptr<X>&
Diffstat (limited to 'src/menu.cpp')
-rw-r--r--src/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu.cpp b/src/menu.cpp
index 696ed2b..42265c9 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -551,8 +551,8 @@ public:
*****
****/
-MenuFactory::MenuFactory(std::shared_ptr<Actions>& actions_,
- std::shared_ptr<State>& state_):
+MenuFactory::MenuFactory(const std::shared_ptr<Actions>& actions_,
+ const std::shared_ptr<State>& state_):
m_actions(actions_),
m_state(state_)
{