aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx
index d4e1505..2fecfb2 100644
--- a/odb/generator.cxx
+++ b/odb/generator.cxx
@@ -297,7 +297,8 @@ generate (options const& ops,
// Include main file(s).
//
for (paths::const_iterator i (inputs.begin ()); i != inputs.end (); ++i)
- hxx << "#include " << ctx->process_include_path (i->string ()) << endl;
+ hxx << "#include " <<
+ ctx->process_include_path (i->leaf ().string ()) << endl;
hxx << endl;