From 89537ed2ab22fcedb25e0378bd2c18e392911c0c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Sep 2022 12:01:29 +0100 Subject: Fix various cases of the &* being next to the name instead of type. --- src/hashcomp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hashcomp.cpp') 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) { } -- cgit v1.3.1-10-gc9f91