mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
use const string ref when possible
This commit is contained in:
parent
3f965bfc94
commit
6aee9994b9
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ LINPHONE_BEGIN_NAMESPACE
|
|||
|
||||
const string Imdn::imdnPrefix = "/imdn:imdn";
|
||||
|
||||
string Imdn::createXml (string id, time_t time, Imdn::Type imdnType, LinphoneReason reason) {
|
||||
string Imdn::createXml (const string &id, time_t time, Imdn::Type imdnType, LinphoneReason reason) {
|
||||
xmlBufferPtr buf;
|
||||
xmlTextWriterPtr writer;
|
||||
int err;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ public:
|
|||
Display
|
||||
};
|
||||
|
||||
static std::string createXml(std::string id, time_t time, Imdn::Type imdnType, LinphoneReason reason);
|
||||
static std::string createXml (const std::string &id, time_t time, Imdn::Type imdnType, LinphoneReason reason);
|
||||
static void parse (ChatRoom &cr, const std::string &content);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue