aboutsummaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-29 12:01:29 +0100
committerGravatar Sadie Powell2022-09-29 12:36:01 +0100
commit89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch)
tree4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /src/hashcomp.cpp
parentUse NOMINMAX on Windows and undefine error in the log header. (diff)
Fix various cases of the &* being next to the name instead of type.
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 03ba05103..9225374f4 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -154,7 +154,7 @@ bool irc::insensitive_swo::operator()(const std::string& a, const std::string& b
return (asize < bsize);
}
-size_t irc::insensitive::operator()(const std::string &s) const
+size_t irc::insensitive::operator()(const std::string& s) const
{
/* XXX: NO DATA COPIES! :)
* The hash function here is practically
@@ -224,7 +224,7 @@ irc::sepstream::sepstream(const std::string& source, char separator, bool allowe
{
}
-bool irc::sepstream::GetToken(std::string &token)
+bool irc::sepstream::GetToken(std::string& token)
{
if (this->StreamEnd())
{
@@ -273,7 +273,7 @@ bool irc::sepstream::Contains(const std::string& value)
return false;
}
-irc::portparser::portparser(const std::string &source, bool allow_overlapped)
+irc::portparser::portparser(const std::string& source, bool allow_overlapped)
: sep(source), in_range(0), range_begin(0), range_end(0), overlapped(allow_overlapped)
{
}