aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-06 11:59:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-08-06 11:59:50 +0200
commita3af5aadbe45eccab791eec98859f6ad722c3b58 (patch)
treea5fcf2cb54b1e037eb0410bb929acf3dfb5ce0f2 /common
parent61b55ab0a92eee6d80fe0d028b1e8a339e8a3856 (diff)
Make sure persistent class templates are fully instantiated
Diffstat (limited to 'common')
-rw-r--r--common/object/test.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/object/test.hxx b/common/object/test.hxx
index aec17c6..4ff9075 100644
--- a/common/object/test.hxx
+++ b/common/object/test.hxx
@@ -40,6 +40,11 @@ namespace test1
{
int n;
};
+
+ // Test instantiation in order to "see" id, etc.
+ //
+ typedef base<int> int_base;
+ #pragma db object(int_base)
}
#endif // TEST_HXX