[prev in list] [next in list] [prev in thread] [next in thread] 

List:       semsdev
Subject:    [Semsdev] r1344 - trunk/apps/voicemail
From:       sayer () mail ! berlios ! de
Date:       2009-03-31 9:30:51
Message-ID: 200903310930.n2V9UpjV022694 () sheep ! berlios ! de
[Download RAW message or body]

Author: sayer
Date: 2009-03-31 11:30:51 +0200 (Tue, 31 Mar 2009)
New Revision: 1344

Modified:
   trunk/apps/voicemail/AnswerMachine.cpp
Log:
save one string copy

Modified: trunk/apps/voicemail/AnswerMachine.cpp
===================================================================
--- trunk/apps/voicemail/AnswerMachine.cpp	2009-03-31 09:29:33 UTC (rev 1343)
+++ trunk/apps/voicemail/AnswerMachine.cpp	2009-03-31 09:30:51 UTC (rev 1344)
@@ -108,8 +108,8 @@
 #ifdef USE_MYSQL
 mysqlpp::Connection AnswerMachineFactory::Connection(mysqlpp::use_exceptions);
 
-int get_audio_file(string message, string domain, string user,
-                  string language, string& audio_file)
+int get_audio_file(const string& message, const string& domain, const string& user,
+		   const string& language, string& audio_file)
 {
   string query_string;
 

_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic