From 25feb0393f8c8a1e9e0e0edf369b10b318a60599 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 27 Oct 2011 15:54:35 +0200 Subject: Implement query image change callback machinery --- odb/relational/header.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'odb/relational/header.hxx') diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index a331b3f..53ff93a 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -88,6 +88,11 @@ namespace relational } virtual void + image_extra (type&) + { + } + + virtual void traverse (type& c) { os << "struct image_type"; @@ -106,6 +111,8 @@ namespace relational if (!composite (c)) os << "std::size_t version;"; + image_extra (c); + os << "};"; } -- cgit v1.1