summaryrefslogtreecommitdiff
path: root/odb/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-01-17 12:49:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-01-17 12:49:09 +0200
commit5ae3932141c79e9240a34465b2608385275f2db5 (patch)
tree810529e92a6c057988f1f89c175b7ce7c15bef1d /odb/context.hxx
parenta680c33b7b15c4da6780b98a9fba6e4f09ba656f (diff)
Handle query column exporting for composite value types
A composite value is represented in query_columns as a nested struct. Even though the query_columns template instantiation is exported, VC++ for some reason doesn't appear to also export the nested structs. To work around this, nested structs have to have the export macro in the declaration. But that's not it: we also have to declare the nested structs extern, just like the outer template instantiation itself.
Diffstat (limited to 'odb/context.hxx')
-rw-r--r--odb/context.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/context.hxx b/odb/context.hxx
index e0238dd..41428d0 100644
--- a/odb/context.hxx
+++ b/odb/context.hxx
@@ -1227,7 +1227,7 @@ public:
// extern and export symbols.
//
void
- inst_header (bool decl);
+ inst_header (bool decl, bool omit_exp = false);
// Counts and other information.
//