aboutsummaryrefslogtreecommitdiff
path: root/odb/traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/traits.hxx')
-rw-r--r--odb/traits.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/traits.hxx b/odb/traits.hxx
index 4c71f94..0743dba 100644
--- a/odb/traits.hxx
+++ b/odb/traits.hxx
@@ -138,6 +138,8 @@ namespace odb
typedef typename access::object_traits<T>::object_type object_type;
typedef typename pointer_traits::const_pointer_type const_pointer_type;
typedef const_pointer_type pointer_type;
+
+ static const bool polymorphic = access::object_traits<T>::polymorphic;
};
// Specializations for pointer types to allow the C++ compiler to