From 20761a3cd9205e16bfdecb298db474c75b292ce8 Mon Sep 17 00:00:00 2001 From: Asias He Date: Wed, 14 Jan 2015 15:24:56 +0800 Subject: [PATCH] Add abstract_type::is_compatible_with --- database.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/database.hh b/database.hh index 5d750dbd90..81bdacd695 100644 --- a/database.hh +++ b/database.hh @@ -76,6 +76,11 @@ public: virtual void validate_collection_member(const bytes& v, const bytes& collection_name) { validate(v); } + virtual bool is_compatible_with(abstract_type& previous) { + // FIXME + abort(); + return false; + } virtual object_opt compose(const bytes& v) { return deserialize(v); }