diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-01 12:32:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-01 12:32:53 +0200 |
commit | 69c77457dd476fd554557d8ea39e6b4a1424259e (patch) | |
tree | b28219fbb1f2a5f1c9d08d535000cca62e2b4a65 /common | |
parent | f59b5ad17eb77c3ff6f0e6e81162545e4b8d934b (diff) |
Make sure we have same container members in all configurations
Diffstat (limited to 'common')
-rw-r--r-- | common/container/test.hxx | 19 | ||||
-rw-r--r-- | common/relationship/test.hxx | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/common/container/test.hxx b/common/container/test.hxx index ff2a4e2..c531efb 100644 --- a/common/container/test.hxx +++ b/common/container/test.hxx @@ -182,6 +182,25 @@ struct object str_num_umap snum; num_comp_umap ncum; comp_str_umap csum; +#else + // Dummy containers to get the equivalent DROP TABLE statements. + // + num_vector na; + num_vector sa; + num_vector ca; + + num_vector nfl; + num_vector sfl; + num_vector cfl; + + num_set nus; + str_set sus; + comp_set cus; + + num_str_map nsum; + str_num_map snum; + num_comp_map ncum; + comp_str_map csum; #endif std::string str; diff --git a/common/relationship/test.hxx b/common/relationship/test.hxx index e66e72c..5383db6 100644 --- a/common/relationship/test.hxx +++ b/common/relationship/test.hxx @@ -244,6 +244,10 @@ struct aggr obj2_ptr o2; // std::auto_ptr or std::unique_ptr #ifdef HAVE_CXX11 obj2_vec v2; +#else + // Dummy containers to get the equivalent DROP TABLE statements. + // + std::vector<int> v2; #endif #if defined(HAVE_CXX11) || defined(HAVE_TR1_MEMORY) |