- switch to unique_ptr

- add initial CI
This commit is contained in:
2019-06-04 15:30:53 +03:00
parent 31c876490c
commit 228e2d7829
88 changed files with 269 additions and 262 deletions

View File

@@ -416,7 +416,7 @@ int Account::sendMsg(const std::string& peer, const void* ptr, unsigned length,
resip::ClientPagerMessageHandle msgHandle = mAgent.mDum->makePagerMessage(resip::NameAddr(resip::Data(peer)), mProfile, s);
unique_ptr<resip::Contents> contentPtr(new resip::PlainContents(resip::Data(std::string((const char*)ptr, length)),type));
int result = s->sessionId();
msgHandle->page(contentPtr);
msgHandle->page(std::move(contentPtr));
return result;
}