From 6b51de56026cf73f0f0ed8071e5e4918bc1999f9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Nov 2014 15:46:21 +0200 Subject: Add test --- odb/database.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odb/database.hxx') diff --git a/odb/database.hxx b/odb/database.hxx index 0304d3c..3163c46 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -56,6 +56,10 @@ namespace odb template typename object_traits::id_type + persist (const T& object); + + template + typename object_traits::id_type persist (T* obj_ptr); template class P> -- cgit v1.1