aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/traits.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/traits.cxx')
-rw-r--r--odb/sqlite/traits.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/odb/sqlite/traits.cxx b/odb/sqlite/traits.cxx
index 62093e9..8a9f310 100644
--- a/odb/sqlite/traits.cxx
+++ b/odb/sqlite/traits.cxx
@@ -20,10 +20,7 @@ namespace odb
//
void default_value_traits<string, id_text>::
- set_image (buffer& b,
- size_t& n,
- bool& is_null,
- const string& v)
+ set_image (buffer& b, size_t& n, bool& is_null, const string& v)
{
is_null = false;
n = v.size ();
@@ -36,14 +33,11 @@ namespace odb
}
//
- // default_value_traits<const char*>
+ // c_string_value_traits
//
- void default_value_traits<const char*, id_text>::
- set_image (buffer& b,
- size_t& n,
- bool& is_null,
- const char* v)
+ void c_string_value_traits::
+ set_image (buffer& b, size_t& n, bool& is_null, const char* v)
{
is_null = false;
n = strlen (v);