1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 08:03:14 +02:00

Fixed extracting multiple words from our serializable stringstream

This commit is contained in:
Adam
2011-10-21 18:01:51 -04:00
parent d0afc8c509
commit 6ce9010324
+5 -1
View File
@@ -26,7 +26,11 @@ namespace Serialize
is >> val;
return *this;
}
std::istream &operator>>(Anope::string &val) { return *this >> val.str(); }
std::istream &operator>>(Anope::string &val)
{
val = this->str();
return *this;
}
stringstream &setType(DataType t)
{
this->type = t;