1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 22:13:13 +02:00

Remove or fix various useless uses of const.

This commit is contained in:
Sadie Powell
2025-12-17 14:10:42 +00:00
parent 3e8c5b2685
commit 0f433ebe9c
11 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ public:
{
}
virtual const Anope::string GetIP()
virtual Anope::string GetIP() const
{
return this->clientaddr.addr();
}
+1 -1
View File
@@ -157,7 +157,7 @@ namespace SQL
}
}
const Anope::string Get(size_t index, const Anope::string &col) const
Anope::string Get(size_t index, const Anope::string &col) const
{
const std::map<Anope::string, Anope::string> rows = this->Row(index);