diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-30 13:28:48 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-30 13:28:48 -0600 |
commit | 0f384f4c9607b785d7df4da8566fe2b869ef11e4 (patch) | |
tree | 5f257829ddefb9e0817d882469c99f69e6b62619 /src/exporter.cpp | |
parent | b56293e7b4fb4b253da17119ad153990744dac3b (diff) | |
download | ayatana-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/exporter.cpp')
-rw-r--r-- | src/exporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp index 86e3670..ccd6e5c 100644 --- a/src/exporter.cpp +++ b/src/exporter.cpp @@ -120,8 +120,8 @@ Exporter::on_name_lost(GDBusConnection* /*connection*/, const gchar* /*name*/) ***/ void -Exporter::publish(std::shared_ptr<Actions>& actions, - std::vector<std::shared_ptr<Menu>>& menus) +Exporter::publish(const std::shared_ptr<Actions>& actions, + const std::vector<std::shared_ptr<Menu>>& menus) { m_actions = actions; m_menus = menus; |