diff options
Diffstat (limited to 'common/container/test.hxx')
-rw-r--r-- | common/container/test.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/container/test.hxx b/common/container/test.hxx index ec392ec..2e267f6 100644 --- a/common/container/test.hxx +++ b/common/container/test.hxx @@ -54,7 +54,6 @@ struct cont_comp1 { // This composite value does not have any columns. // - #pragma db id_column("obj_id") num_vector sv; // Have the name "conflic" with the one in the object. }; @@ -64,14 +63,11 @@ struct cont_comp2 cont_comp2 (): num (777), str ("ggg") {} int num; - - #pragma db id_column("obj_id") str_list sl; - std::string str; }; -#pragma db object table("obj") +#pragma db object struct object { object (): nv (comp1_.sv), sl (comp2_.sl) {} |