diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-12 01:00:02 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-12 01:00:02 +0000 |
commit | 718f2e922a6e1113d66fc6e96131213942d507b2 (patch) | |
tree | c97a1d4749f635f8241dbd246f204403c5be0c22 | |
parent | 2b2b6f75a19ee59b3356d58e68a36edb80249d76 (diff) |
Const correct Serialize::Type::GetName().
-rw-r--r-- | include/serialize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serialize.h b/include/serialize.h index a4895ac0c..dd721e693 100644 --- a/include/serialize.h +++ b/include/serialize.h @@ -169,7 +169,7 @@ public: /** Gets the name for this type * @return The name, eg "NickAlias" */ - const Anope::string &GetName() { return this->name; } + const Anope::string &GetName() const { return this->name; } /** Unserialized an object. * @param obj NULL if this object doesn't yet exist. If this isn't NULL, instead |