From 647245a71f7277cf9ee69a8212276f214ae35c07 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 23 Jan 2013 22:16:01 -0500 Subject: [PATCH] Add missing KeySet() func to SQL::Data --- modules/extra/sql.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/extra/sql.h b/modules/extra/sql.h index d3449504a..e2daf49da 100644 --- a/modules/extra/sql.h +++ b/modules/extra/sql.h @@ -28,6 +28,14 @@ namespace SQL return *ss; } + std::set KeySet() const anope_override + { + std::set keys; + for (std::map::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