summaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-19 17:05:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-19 17:05:24 +0200
commit2b02d443ab344bc02dfc2891fb1a57c6520c393f (patch)
tree3bff59757b0ef986d70c67def93d689fb18a5b66 /odb/context.cxx
parent33cd64535d2307a2e7884ee0796e1aae42937aaf (diff)
Use type names as specified in the header that we compile
Diffstat (limited to 'odb/context.cxx')
-rw-r--r--odb/context.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/context.cxx b/odb/context.cxx
index 77ca708..64d875d 100644
--- a/odb/context.cxx
+++ b/odb/context.cxx
@@ -162,7 +162,7 @@ column_type (semantics::data_member& m) const
if (m.count ("type"))
return m.get<string> ("type");
- string const& name (m.type ().fq_name ());
+ string const& name (m.type ().fq_name (m.belongs ().hint ()));
type_map_type::const_iterator i (data_->type_map_.find (name));
if (i != data_->type_map_.end ())