mirror of
https://github.com/anope/anope.git
synced 2026-06-25 05:16:38 +02:00
Add a typedef for the serializable id.
This commit is contained in:
@@ -41,7 +41,7 @@ class LoadData final
|
||||
{
|
||||
public:
|
||||
std::fstream *fs;
|
||||
uint64_t id = 0;
|
||||
Serializable::Id id = 0;
|
||||
std::map<Anope::string, Anope::string> data;
|
||||
std::stringstream ss;
|
||||
bool read = false;
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
{
|
||||
if (token.find("ID ") == 0)
|
||||
{
|
||||
this->id = Anope::Convert<uint64_t>(token.substr(3), 0);
|
||||
this->id = Anope::Convert<Serializable::Id>(token.substr(3), 0);
|
||||
continue;
|
||||
}
|
||||
else if (token.find("DATA ") != 0)
|
||||
|
||||
Reference in New Issue
Block a user