diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-30 11:45:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-30 11:45:29 +0200 |
commit | 0fd5e88d6e31e6dc5259fa5428835fe818440abc (patch) | |
tree | 436799de249634a34d48c7d1d87c588934f59ecd /odb/polymorphic-info.hxx | |
parent | b40fc36dcf3d196f54a209c046edf0c0820e721b (diff) |
VC++ workarounds
Diffstat (limited to 'odb/polymorphic-info.hxx')
-rw-r--r-- | odb/polymorphic-info.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/polymorphic-info.hxx b/odb/polymorphic-info.hxx index eb444ca..abed648 100644 --- a/odb/polymorphic-info.hxx +++ b/odb/polymorphic-info.hxx @@ -39,8 +39,10 @@ namespace odb template <typename R> struct polymorphic_concrete_info: polymorphic_abstract_info<R> { + // Have to use access::object_traits directly because of VC10. + // typedef R root_type; - typedef object_traits<root_type> root_traits; + typedef access::object_traits<root_type> root_traits; typedef typename root_traits::id_type id_type; typedef typename root_traits::pointer_type pointer_type; typedef typename root_traits::discriminator_type discriminator_type; |