summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-19 23:17:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-19 23:17:17 +0000
commit8942c3cd3217e5c68f01e3cb344709971921fc97 (patch)
treed79d0a444e646a352ab73d90509a64b401b141a6 /src
parentf0610a1fa232346ca050b6a4757dcf09e5f043a7 (diff)
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3261 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/hashcomp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index c5725a0bd..ee485591f 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -142,22 +142,22 @@ int irc::irc_char_traits::compare(const char* str1, const char* str2, size_t n)
return 0;
}
-std::string& operator+ (std::string& leftval, irc::string& rightval)
+std::string operator+ (std::string& leftval, irc::string& rightval)
{
return leftval + std::string(rightval.c_str());
}
-irc::string& operator+ (irc::string& leftval, std::string& rightval)
+irc::string operator+ (irc::string& leftval, std::string& rightval)
{
return leftval + irc::string(rightval.c_str());
}
-std::string& operator== (std::string& leftval, irc::string& rightval)
+std::string operator== (std::string& leftval, irc::string& rightval)
{
return (leftval == std::string(rightval.c_str()));
}
-irc::string& operator== (irc::string& leftval, std::string& rightval)
+irc::string operator== (irc::string& leftval, std::string& rightval)
{
return (rightval == irc::string(leftval.c_str()));
}