1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00

Refactored storage service out of client service interface.

This commit is contained in:
Teemu Ollakka
2018-07-07 18:06:37 +03:00
parent a8be09161c
commit 2ac13100f7
31 changed files with 465 additions and 247 deletions

View File

@ -52,3 +52,11 @@ std::ostream& wsrep::operator<<(std::ostream& os, const wsrep::id& id)
return (os << uuid_str);
}
}
std::istream& wsrep::operator>>(std::istream& is, wsrep::id& id)
{
std::string id_str;
std::getline(is, id_str);
id = wsrep::id(id_str);
return is;
}