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:
+5
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user