diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-10 19:14:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-10 19:14:43 +0200 |
commit | 29d2f0d25b6665e211bac0f1d3c25a1f0cb84444 (patch) | |
tree | c91b2cf0ad5efe95d83779a44ddc01ba3d21508b | |
parent | e707e32bf16f5d15c041ce4c31299b5ef02bd692 (diff) |
Include std::string into ODB translation unit
Use use it for the implicit discriminator member.
-rw-r--r-- | odb/odb.cxx | 7 |
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 |