diff options
-rw-r--r-- | odb/relational/header.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index 032884a..4c27c39 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -417,7 +417,7 @@ namespace relational os << "// " << m.name () << endl << "//" << endl - << "struct " << name; + << "struct " << exp << name; if (base) { @@ -1069,7 +1069,7 @@ namespace relational os << "// " << s.member->name () << endl << "//" << endl - << "struct " << name + << "struct " << exp << name << "{"; os << "typedef object_traits_impl<object_type, id_" << db << |