mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
CTemplate: Switch from CSmartPtr to std::shared_ptr
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -188,7 +188,7 @@ void CWebAuth::Invalidate() {
|
||||
CWebSock::CWebSock(const CString& sURIPrefix) : CHTTPSock(NULL, sURIPrefix) {
|
||||
m_bPathsSet = false;
|
||||
|
||||
m_Template.AddTagHandler(new CZNCTagHandler(*this));
|
||||
m_Template.AddTagHandler(std::make_shared<CZNCTagHandler>(*this));
|
||||
}
|
||||
|
||||
CWebSock::~CWebSock() {
|
||||
|
||||
Reference in New Issue
Block a user