summaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r--odb/relational/header.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx
index b0deeee..2416f04 100644
--- a/odb/relational/header.hxx
+++ b/odb/relational/header.hxx
@@ -975,7 +975,7 @@ namespace relational
" id_type;"
<< endl
<< "static const bool auto_id = " <<
- (id_member (c)->count ("auto") ? "true;" : "false;")
+ (auto_id ? "true;" : "false;")
<< endl;
os << "struct id_image_type"