mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
modpython: Switch from CSmartPtr to std::shared_ptr
Patch by DarthGandalf, I just committed it to git. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -137,7 +137,7 @@ public:
|
||||
bool& bSuccess, CString& sRetMsg);
|
||||
virtual void OnGetAvailableMods(std::set<CModInfo>& ssMods, CModInfo::EModuleType eType);
|
||||
virtual void OnClientCapLs(CClient* pClient, SCString& ssCaps);
|
||||
virtual EModRet OnLoginAttempt(CSmartPtr<CAuthBase> Auth);
|
||||
virtual EModRet OnLoginAttempt(std::shared_ptr<CAuthBase> Auth);
|
||||
};
|
||||
|
||||
static inline CPyModule* AsPyModule(CModule* p) {
|
||||
|
||||
Reference in New Issue
Block a user