aboutsummaryrefslogtreecommitdiff
path: root/odb/include.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-31 14:00:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-31 14:00:18 +0200
commit130d691d607f2ff78865cc84b6fe46a7e79daa9a (patch)
tree4c164746d2f52a462e98f4cf98d1863bf781ebc0 /odb/include.cxx
parent1f7f9295bf4baf2b86ef5884b1c9929d0b31f758 (diff)
Cosmetic changes and cleanups
Rename some functions to have consistent names. Add object() predicate.
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