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

Add missing KeySet() func to SQL::Data

This commit is contained in:
Adam
2013-01-23 22:16:01 -05:00
parent a634c7be65
commit 647245a71f
+8
View File
@@ -28,6 +28,14 @@ namespace SQL
return *ss;
}
std::set<Anope::string> KeySet() const anope_override
{
std::set<Anope::string> keys;
for (std::map<Anope::string, std::stringstream *>::const_iterator it = this->data.begin(), it_end = this->data.end(); it != it_end; ++it)
keys.insert(it->first);
return keys;
}
bool IsEqual(Serialize::Data *other) anope_override
{
try