summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-18 20:57:25 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-18 20:57:25 +0000
commit326b2d07b780ef0dcd3091b42eb73c6554982f8c (patch)
tree668ed431839010b7371c1c324f9b7c541c2a8fb8 /include/hashcomp.h
parentf1f2a2e0273259713545e360d46b9dbdbfc30589 (diff)
Add trim() to hashcomp to trail leading and traling spaces from std::strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6809 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 67a41a968..b903f7748 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -535,6 +535,7 @@ bool operator== (const irc::string& leftval, const std::string& rightval);
std::string assign(const irc::string &other);
irc::string assign(const std::string &other);
+std::string& trim(std::string &str);
namespace nspace
{