From b24441868e0c22354e09640b202af011296262b1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Jan 2014 11:19:57 +0200 Subject: Only generate inner export macro if we are explicitly instantiating --- odb/common-query.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/common-query.hxx') 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_; }; -- cgit v1.1