summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/service.h b/include/service.h
index 5245ab1c7..db0b2af4b 100644
--- a/include/service.h
+++ b/include/service.h
@@ -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);
}