summaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
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 e2096d9..31f0865 100644
--- a/odb/context.cxx
+++ b/odb/context.cxx
@@ -171,7 +171,7 @@ member_type (semantics::data_member& m, string const& key_prefix)
if (key_prefix.empty ())
return m.type ();
- string const key ("tree-" + key_prefix + "-type");
+ string const key (key_prefix + "-tree-type");
if (m.count (key))
return *indirect_value<semantics::type*> (m, key);