ekiga r7217 - in branches/gnome-2-24: . lib/engine/account/skel
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7217 - in branches/gnome-2-24: . lib/engine/account/skel
- Date: Sun, 12 Oct 2008 17:49:48 +0000 (UTC)
Author: dsandras
Date: Sun Oct 12 17:49:48 2008
New Revision: 7217
URL: http://svn.gnome.org/viewvc/ekiga?rev=7217&view=rev
Log:
Do not use a reference. It is preferable to copy the string.
Modified:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/lib/engine/account/skel/account-core.cpp
branches/gnome-2-24/lib/engine/account/skel/account-core.h
Modified: branches/gnome-2-24/lib/engine/account/skel/account-core.cpp
==============================================================================
--- branches/gnome-2-24/lib/engine/account/skel/account-core.cpp (original)
+++ branches/gnome-2-24/lib/engine/account/skel/account-core.cpp Sun Oct 12 17:49:48 2008
@@ -123,7 +123,7 @@
void Ekiga::AccountCore::on_registration_event (const Ekiga::Account *account,
Ekiga::AccountCore::RegistrationState state,
- const std::string & info)
+ const std::string info)
{
registration_event.emit (*account, state, info);
}
Modified: branches/gnome-2-24/lib/engine/account/skel/account-core.h
==============================================================================
--- branches/gnome-2-24/lib/engine/account/skel/account-core.h (original)
+++ branches/gnome-2-24/lib/engine/account/skel/account-core.h Sun Oct 12 17:49:48 2008
@@ -205,7 +205,7 @@
typedef std::set<AccountSubscriber *>::const_iterator subscriber_const_iterator;
void on_registration_event (const Ekiga::Account *account,
Ekiga::AccountCore::RegistrationState state,
- const std::string & info);
+ const std::string info);
void on_mwi_event (const Ekiga::Account *account,
const std::string & info);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]