diff options
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r-- | odb/relational/header.hxx | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index 1380c49..4c1421c 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -684,9 +684,12 @@ namespace relational // grow () // - os << "static void" << endl - << "grow (data_image_type&, " << truncated_vector << ");" - << endl; + if (generate_grow) + { + os << "static void" << endl + << "grow (data_image_type&, " << truncated_vector << ");" + << endl; + } // init (data_image) // @@ -1015,9 +1018,12 @@ namespace relational // grow () // - os << "static bool" << endl - << "grow (image_type&, " << truncated_vector << ");" - << endl; + if (generate_grow) + { + os << "static bool" << endl + << "grow (image_type&, " << truncated_vector << ");" + << endl; + } // bind (image_type) // @@ -1359,9 +1365,12 @@ namespace relational // grow () // - os << "static bool" << endl - << "grow (image_type&, " << truncated_vector << ");" - << endl; + if (generate_grow) + { + os << "static bool" << endl + << "grow (image_type&, " << truncated_vector << ");" + << endl; + } // bind (image_type) // @@ -1450,9 +1459,12 @@ namespace relational // grow () // - os << "static bool" << endl - << "grow (image_type&, " << truncated_vector << ");" - << endl; + if (generate_grow) + { + os << "static bool" << endl + << "grow (image_type&, " << truncated_vector << ");" + << endl; + } // bind (image_type) // |