1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 09:36:39 +02:00

Refactor and redocument Serialize::Type.

This commit is contained in:
Sadie Powell
2025-03-12 16:52:46 +00:00
parent e7b18609f6
commit 9ec3f6abd6
2 changed files with 73 additions and 61 deletions
-15
View File
@@ -162,11 +162,6 @@ void Type::Check()
FOREACH_MOD(OnSerializeCheck, (this));
}
time_t Type::GetTimestamp() const
{
return this->timestamp;
}
void Type::UpdateTimestamp()
{
this->timestamp = Anope::CurTime;
@@ -179,13 +174,3 @@ Type *Serialize::Type::Find(const Anope::string &name)
return it->second;
return NULL;
}
const std::vector<Anope::string> &Type::GetTypeOrder()
{
return TypeOrder;
}
const std::map<Anope::string, Serialize::Type *>& Type::GetTypes()
{
return Types;
}