diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-27 13:57:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-27 13:57:34 +0200 |
commit | 52793dc8860e38f725dc0ca8300c4e2ca9d4ceb9 (patch) | |
tree | 88d868922e1903cc56236516c8ab44b4bc222a2d /odb/relational/header.cxx | |
parent | f8b3ee6d42f5112c4e66a07cc7fdba43ce66aacd (diff) |
Don't generate grow code for databases that don't need it
Diffstat (limited to 'odb/relational/header.cxx')
-rw-r--r-- | odb/relational/header.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/header.cxx b/odb/relational/header.cxx index 48bca91..45f58b8 100644 --- a/odb/relational/header.cxx +++ b/odb/relational/header.cxx @@ -322,7 +322,7 @@ traverse_object (type& c) // init (image, object) // - os << "static bool" << endl + os << "static " << (generate_grow ? "bool" : "void") << endl << "init (image_type&, const object_type&, " << db << "::statement_kind);" << endl; |