1
0
mirror of https://github.com/anope/anope.git synced 2026-06-24 23:06:37 +02:00

Add a typedef for the serializable id.

This commit is contained in:
Sadie Powell
2025-03-26 10:22:42 +00:00
parent 49d86527ef
commit dc09408f1a
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ public:
Serializable *obj = sb->Unserialize(NULL, data);
if (obj)
{
auto oid = Anope::TryConvert<unsigned int>(res.Get(j, "id"));
auto oid = Anope::TryConvert<Serializable::Id>(res.Get(j, "id"));
if (oid.has_value())
obj->id = oid.value();
else