ekiga r7216 - in trunk: . lib/engine/account/skel



Author: dsandras
Date: Sun Oct 12 17:47:19 2008
New Revision: 7216
URL: http://svn.gnome.org/viewvc/ekiga?rev=7216&view=rev

Log:
Do not use a reference. It is preferable to copy the string.


Modified:
   trunk/ChangeLog
   trunk/lib/engine/account/skel/account-core.cpp
   trunk/lib/engine/account/skel/account-core.h

Modified: trunk/lib/engine/account/skel/account-core.cpp
==============================================================================
--- trunk/lib/engine/account/skel/account-core.cpp	(original)
+++ trunk/lib/engine/account/skel/account-core.cpp	Sun Oct 12 17:47:19 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: trunk/lib/engine/account/skel/account-core.h
==============================================================================
--- trunk/lib/engine/account/skel/account-core.h	(original)
+++ trunk/lib/engine/account/skel/account-core.h	Sun Oct 12 17:47:19 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]