summaryrefslogtreecommitdiff
path: root/odb/header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/header.cxx')
-rw-r--r--odb/header.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/header.cxx b/odb/header.cxx
index 7456169..53ab220 100644
--- a/odb/header.cxx
+++ b/odb/header.cxx
@@ -20,7 +20,10 @@ namespace
return;
string const& name (public_name (m));
- string const& type (m.type ().fq_name (m.belongs ().hint ()));
+
+ semantics::names* hint;
+ semantics::type& t (utype (m, hint));
+ string const& type (t.fq_name (hint));
os << "static " << type << "&" << endl
<< name << " (value_type&);"