summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 924ffa940..5e6d2c077 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -178,7 +178,7 @@ std::istream& operator>>(std::istream &is, irc::string &str)
return is;
}
-irc::tokenstream::tokenstream(std::string &source) : tokens(source), last_pushed(false)
+irc::tokenstream::tokenstream(const std::string &source) : tokens(source), last_pushed(false)
{
last_starting_position = tokens.begin();
n = tokens.begin();
@@ -219,4 +219,3 @@ const std::string irc::tokenstream::GetToken()
}
return "";
}
-