From 33530c338c1daaed0a48f8e3c9ccb21ec9ced49c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 11 Dec 2006 23:56:22 +0000 Subject: irc::string assign(std::string&) std::string assign(irc::string&) soooo: irc::string foo = assign(my_std_string); :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5956 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/hashcomp.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 67dec4e85..6154a4b55 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -604,3 +604,13 @@ unsigned char irc::dynamicbitmask::GetSize() return bits_size; } +std::string assign(const irc::string &other) +{ + return other.c_str(); +} + +irc::string assign(const std::string &other) +{ + return other.c_str(); +} + -- cgit v1.2.3