mark const method as const

This commit is contained in:
Benjamin Reis 2017-10-12 10:21:56 +02:00
parent 714a472e77
commit 783e9326d2
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ void RemoteConferenceEventHandler::notifyReceived (string xmlBody) {
// -----------------------------------------------------------------------------
const Address &RemoteConferenceEventHandler::getConfAddress () {
const Address &RemoteConferenceEventHandler::getConfAddress () const {
L_D();
return d->confAddress;
}

View file

@ -40,7 +40,7 @@ class RemoteConferenceEventHandler : public Object {
void notifyReceived (std::string xmlBody);
void unsubscribe ();
const Address &getConfAddress ();
const Address &getConfAddress () const;
private:
L_DECLARE_PRIVATE(RemoteConferenceEventHandler);