diff options
Diffstat (limited to 'odb/context.cxx')
-rw-r--r-- | odb/context.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/context.cxx b/odb/context.cxx index 352cb51..ef6ef9c 100644 --- a/odb/context.cxx +++ b/odb/context.cxx @@ -2345,14 +2345,14 @@ strlit (string const& str) } void context:: -inst_header (bool decl) +inst_header (bool decl, bool omit_exp) { if (decl && !ext.empty ()) os << ext << " "; os << "template struct"; - if (!exp.empty ()) + if (!omit_exp && !exp.empty ()) { // If we are generating an explicit instantiation directive rather // than the extern template declaration, then omit the export symbol |