From be97326d67365e16175cc599e23348feaf80e0fe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Oct 2012 16:09:07 +0200 Subject: Ground work for multi-database support All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface. --- odb/polymorphic-map.txx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'odb/polymorphic-map.txx') diff --git a/odb/polymorphic-map.txx b/odb/polymorphic-map.txx index d7b6e36..26534a6 100644 --- a/odb/polymorphic-map.txx +++ b/odb/polymorphic-map.txx @@ -39,8 +39,8 @@ namespace odb // polymorphic_entry_impl // - template - void polymorphic_entry_impl:: + template + void polymorphic_entry_impl:: insert (const info_type& i) { // VC10 cannot grok constructor call syntax here. @@ -56,8 +56,8 @@ namespace odb pm->discriminator_map_[&i.discriminator] = &i; } - template - void polymorphic_entry_impl:: + template + void polymorphic_entry_impl:: erase (const info_type& i) { // VC10 cannot grok constructor call syntax here. -- cgit v1.1