From 29d2f0d25b6665e211bac0f1d3c25a1f0cb84444 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 10 Feb 2013 19:14:43 +0200 Subject: Include std::string into ODB translation unit Use use it for the implicit discriminator member. --- odb/odb.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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 " << endl + << endl; + // Add ODB compiler metaprogramming tests. // os << "namespace odb" << endl -- cgit v1.1