summaryrefslogtreecommitdiff
path: root/mg_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg_db.h')
-rw-r--r--mg_db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mg_db.h b/mg_db.h
index 1939469..d613ca9 100644
--- a/mg_db.h
+++ b/mg_db.h
@@ -229,7 +229,7 @@ class mgDb {
class mgKey {
public:
virtual ~mgKey() {};
- virtual mgParts Parts(mgDb *db,bool groupby=false) const = 0;
+ virtual mgParts Parts(mgDb *db,bool groupby) const = 0;
virtual string id() const = 0;
virtual bool valid() const = 0;
virtual string value () const = 0;
@@ -248,7 +248,7 @@ class mgKeyNormal : public mgKey {
public:
mgKeyNormal(const mgKeyNormal& k);
mgKeyNormal(const mgKeyTypes kt, string table, string field);
- virtual mgParts Parts(mgDb *db,bool groupby=false) const;
+ virtual mgParts Parts(mgDb *db,bool groupby) const;
string value() const;
string id() const;
bool valid() const;