aboutsummaryrefslogtreecommitdiff
path: root/odb/polymorphic-info.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/polymorphic-info.hxx')
-rw-r--r--odb/polymorphic-info.hxx4
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;