summaryrefslogtreecommitdiff
path: root/src/serialize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialize.cpp')
-rw-r--r--src/serialize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.cpp b/src/serialize.cpp
index 1cf9bcb58..20c05e502 100644
--- a/src/serialize.cpp
+++ b/src/serialize.cpp
@@ -255,7 +255,7 @@ TypeBase *TypeBase::Find(const Anope::string &name)
return ServiceManager::Get()->FindService<TypeBase *>(name);
}
-const std::vector<TypeBase *>& TypeBase::GetTypes()
+std::vector<TypeBase *> TypeBase::GetTypes()
{
return ServiceManager::Get()->FindServices<TypeBase *>();
}