aboutsummaryrefslogtreecommitdiff
path: root/odb/header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/header.cxx')
-rw-r--r--odb/header.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/header.cxx b/odb/header.cxx
index 10518a1..fdb1ea6 100644
--- a/odb/header.cxx
+++ b/odb/header.cxx
@@ -778,6 +778,7 @@ namespace header
<< "#include <odb/wrapper-traits.hxx>" << endl
<< "#include <odb/pointer-traits.hxx>" << endl;
+#ifndef ODB_BUILD2
if (ctx.options.std () == cxx_version::cxx98)
{
// In case of a boost TR1 implementation, we cannot distinguish
@@ -798,6 +799,7 @@ namespace header
<< "#endif" << endl;
}
}
+#endif
os << "#include <odb/container-traits.hxx>" << endl;