diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:34:27 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:34:27 +0000 |
commit | 73d4ac6de04a1035ac36182d3f269cc938c6bc19 (patch) | |
tree | 84d50083d34ea1d69b832a5e55eab50ebc1ac71b /include/anope.h | |
parent | 7640fad30cc2a3d61e67a7075c27f26400d4779f (diff) |
Remove redundant uses of const.
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/anope.h b/include/anope.h index b71f84f19..6031dceac 100644 --- a/include/anope.h +++ b/include/anope.h @@ -495,7 +495,7 @@ namespace Anope /** Return the last error, uses errno/GetLastError() to determine this * @return An error message */ - extern CoreExport const string LastError(); + extern CoreExport string LastError(); /** Determines if a path is a file */ @@ -623,7 +623,7 @@ public: /** Fetch the entire remaining stream, without tokenizing * @return The remaining part of the stream */ - const Anope::string GetRemaining(); + Anope::string GetRemaining(); /** Returns true if the end of the stream has been reached * @return True if the end of the stream has been reached, otherwise false |