aboutsummaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-19 19:57:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-19 19:57:35 +0200
commit6e35807bd495c0001cba229fd082e45f0421100e (patch)
tree229d40ebc69bcc9ef04147ef95534ddb39771b8d /odb/context.cxx
parentcf469aa28804418338c79a5f9c68608ea2f2807a (diff)
Populate custom type map, make available in context
Diffstat (limited to 'odb/context.cxx')
-rw-r--r--odb/context.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/context.cxx b/odb/context.cxx
index d6336d1..dc94abc 100644
--- a/odb/context.cxx
+++ b/odb/context.cxx
@@ -644,6 +644,7 @@ context (ostream& os_,
include_regex (data_->include_regex_),
accessor_regex (data_->accessor_regex_),
modifier_regex (data_->modifier_regex_),
+ custom_type_map (u.get<custom_cxx_type_map> ("custom-cxx-type-map")),
embedded_schema (
ops.generate_schema () &&
ops.schema_format ()[db].count (schema_format::embedded)),
@@ -761,6 +762,7 @@ context ()
include_regex (current ().include_regex),
accessor_regex (current ().accessor_regex),
modifier_regex (current ().modifier_regex),
+ custom_type_map (current ().custom_type_map),
embedded_schema (current ().embedded_schema),
separate_schema (current ().separate_schema),
multi_static (current ().multi_static),