mirror of
https://github.com/anope/anope.git
synced 2026-06-29 06:06:37 +02:00
Fix Windows build
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ class ServiceReference : public Reference<T>
|
||||
* creates its own service type (that other modules must include the header file
|
||||
* for), as the core is not compiled with it so there is no RTTI for it.
|
||||
*/
|
||||
this->ref = static_cast<T *>(Service::FindService(this->type, this->name));
|
||||
this->ref = static_cast<T *>(::Service::FindService(this->type, this->name));
|
||||
if (this->ref)
|
||||
this->ref->AddReference(this);
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class DHAES : public Mechanism
|
||||
BN_free(key);
|
||||
|
||||
sasl->Fail(sess);
|
||||
return delete sess;
|
||||
delete sess;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
@@ -17,7 +17,7 @@ class DHBS : public Mechanism
|
||||
BN_free(key);
|
||||
|
||||
sasl->Fail(sess);
|
||||
return delete sess;
|
||||
delete sess;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user