From 7c6ac94d435a3ebdf293347db873cadd518e910c Mon Sep 17 00:00:00 2001 From: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Date: Thu, 24 Dec 2015 13:37:40 -0500 Subject: [PATCH] correctly rename getter and setter functions They weren't being used, but they were generating warnings. Change-Id: Iffce7120854f0811c5e53b4fc67c879036b54709 Tuleap: #211 --- src/globalinstances.cpp | 4 ++-- src/globalinstances.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/globalinstances.cpp b/src/globalinstances.cpp index 5f839ea9..3417844d 100644 --- a/src/globalinstances.cpp +++ b/src/globalinstances.cpp @@ -213,7 +213,7 @@ shortcutCreator() } void -setShortcutCreatorI(std::unique_ptr<Interfaces::ShortcutCreatorI> instance) +setShortcutCreator(std::unique_ptr<Interfaces::ShortcutCreatorI> instance) { // do not allow empty pointers if (!instance) { @@ -232,7 +232,7 @@ actionExtender() } void -setActionExtenderI(std::unique_ptr<Interfaces::ActionExtenderI> instance) +setActionExtender(std::unique_ptr<Interfaces::ActionExtenderI> instance) { // do not allow empty pointers if (!instance) { diff --git a/src/globalinstances.h b/src/globalinstances.h index d4d21542..d989cfb0 100644 --- a/src/globalinstances.h +++ b/src/globalinstances.h @@ -78,7 +78,7 @@ Interfaces::ProfilePersisterI& profilePersister(); void setProfilePersister(std::unique_ptr<Interfaces::ProfilePersisterI> instance); Interfaces::ShortcutCreatorI& shortcutCreator(); -void setShortcutCreatorI(std::unique_ptr<Interfaces::ShortcutCreatorI> instance); +void setShortcutCreator(std::unique_ptr<Interfaces::ShortcutCreatorI> instance); Interfaces::ActionExtenderI& actionExtender(); void setActionExtender(std::unique_ptr<Interfaces::ActionExtenderI> instance); -- GitLab