aboutsummaryrefslogtreecommitdiff
path: root/odb/odb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r--odb/odb.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index 80b9af4..a1f6209 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -819,6 +819,13 @@ main (int argc, char* argv[])
<< "#endif" << endl
<< endl;
+ // Include std::string. It is used as a default type for
+ // the implicit discriminator member in polymorphism
+ // support.
+ //
+ os << "#include <string>" << endl
+ << endl;
+
// Add ODB compiler metaprogramming tests.
//
os << "namespace odb" << endl