diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-01-22 11:19:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-01-22 11:21:55 +0200 |
commit | a5aa1faa4597264feea2faf4611d251713960af7 (patch) | |
tree | bfae29f89749504f1da893eec172003d6bcda95e /odb/common-query.hxx | |
parent | 67d06f9697793f987afa08bc1c82a9d2670c9917 (diff) |
Only generate inner export macro if we are explicitly instantiating
Diffstat (limited to 'odb/common-query.hxx')
-rw-r--r-- | odb/common-query.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/common-query.hxx b/odb/common-query.hxx index 5b0f71b..066e88d 100644 --- a/odb/common-query.hxx +++ b/odb/common-query.hxx @@ -120,8 +120,7 @@ struct query_columns: object_columns_base, virtual context { typedef query_columns base; - query_columns (bool ptr); - query_columns (bool ptr, semantics::class_&); + query_columns (bool decl, bool ptr, semantics::class_&); virtual void column_ctor (string const& type, string const& name, string const& base); @@ -145,11 +144,12 @@ struct query_columns: object_columns_base, virtual context traverse_pointer (semantics::data_member&, semantics::class_&); protected: - bool ptr_; bool decl_; + bool ptr_; string const_; // Const prefix or empty. bool in_ptr_; // True while we are "inside" an object pointer. string fq_name_; + bool resue_abstract_; // Object is reuse-abstract. string scope_; }; |