summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/ObjectMap/KeyValueDBMemory.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/ObjectMap/KeyValueDBMemory.h b/src/test/ObjectMap/KeyValueDBMemory.h
index f1ecd60d609..8df396674fe 100644
--- a/src/test/ObjectMap/KeyValueDBMemory.h
+++ b/src/test/ObjectMap/KeyValueDBMemory.h
@@ -19,7 +19,15 @@ public:
KeyValueDBMemory(KeyValueDBMemory *db) : db(db->db) { }
virtual ~KeyValueDBMemory() { }
- virtual int init(ostream &out, bool create_if_missing) {}
+ virtual int init() {
+ return 0;
+ }
+ virtual int open(ostream &out) {
+ return 0;
+ }
+ virtual int create_and_open(ostream &out) {
+ return 0;
+ }
int get(
const string &prefix,