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:
@@ -152,7 +152,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual const Anope::string GetIP()
|
||||
virtual Anope::string GetIP() const
|
||||
{
|
||||
return this->clientaddr.addr();
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user