diff options
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r-- | odb/relational/header.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index 4c1421c..b0deeee 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -973,6 +973,9 @@ namespace relational { os << "typedef " << id->type ().fq_name (id->belongs ().hint ()) << " id_type;" + << endl + << "static const bool auto_id = " << + (id_member (c)->count ("auto") ? "true;" : "false;") << endl; os << "struct id_image_type" |