summaryrefslogtreecommitdiff
path: root/odb/type-processor.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-10 10:04:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 15:39:59 +0200
commit51419aca9c4bcc056ee87d5aa26fe3076f4593ef (patch)
tree43cb3532098c3573a6b1d88717f72257aa77c8d6 /odb/type-processor.cxx
parentdcb7bcd541f77b280e5733da9ec1eb24574e0d9e (diff)
Move to new "virtual functions in context" model
Diffstat (limited to 'odb/type-processor.cxx')
-rw-r--r--odb/type-processor.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/type-processor.cxx b/odb/type-processor.cxx
index af6ab3d..ebead7b 100644
--- a/odb/type-processor.cxx
+++ b/odb/type-processor.cxx
@@ -130,15 +130,15 @@ namespace
if (null_pointer (m))
f |= ctf_default_null;
- type = data_->column_type_impl (idt, type, id, f);
+ type = database_type (idt, type, id, f);
}
else
{
string orig (type);
- type = data_->column_type_impl (t, orig, m, ctf_none);
+ type = database_type (t, orig, m, ctf_none);
if (m.count ("id"))
- ref_type = data_->column_type_impl (t, orig, m, ctf_object_id_ref);
+ ref_type = database_type (t, orig, m, ctf_object_id_ref);
}
if (!type.empty ())
@@ -217,10 +217,10 @@ namespace
if (null_pointer (m, prefix))
f |= ctf_default_null;
- type = data_->column_type_impl (idt, type, id, f);
+ type = database_type (idt, type, id, f);
}
else
- type = data_->column_type_impl (t, type, m, ctf_none);
+ type = database_type (t, type, m, ctf_none);
if (!type.empty ())
{