diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-11 23:56:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-11 23:56:22 +0000 |
commit | 33530c338c1daaed0a48f8e3c9ccb21ec9ced49c (patch) | |
tree | f7efba34e648bb55dad5f8d35d85d3e480c855f5 /src | |
parent | fe98b799b532bb6d67eb5e758a9faf4edfba8705 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/hashcomp.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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(); +} + |