aboutsummaryrefslogtreecommitdiff
path: root/odb/include.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/include.cxx')
-rw-r--r--odb/include.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/include.cxx b/odb/include.cxx
index 8d70b64..a01e754 100644
--- a/odb/include.cxx
+++ b/odb/include.cxx
@@ -81,7 +81,7 @@ namespace
// We only generate things for objects and composite value types.
//
- if (!(c.count ("object") || comp_value (c)))
+ if (!(object (c) || comp_value (c)))
return;
// This is a persistent object or composite value type declared in