summaryrefslogtreecommitdiffstats
path: root/src/test/ObjectMap
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2014-01-29 17:30:27 +0100
committerSage Weil <sage@inktank.com>2014-01-29 17:30:39 +0100
commitf32bfa5a373b9bb14756c34346245c6e29872e1d (patch)
tree2af7d142996e0115404c9e19e738c4bba350c17e /src/test/ObjectMap
parentMerge pull request #1148 from ceph/wip-7215-quorum-features (diff)
downloadceph-f32bfa5a373b9bb14756c34346245c6e29872e1d.tar.xz
ceph-f32bfa5a373b9bb14756c34346245c6e29872e1d.zip
ceph_test_object_map: fix build
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/test/ObjectMap')
-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,