aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/oracle/traits.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/traits.hxx b/odb/oracle/traits.hxx
index f3e27ba..4208253 100644
--- a/odb/oracle/traits.hxx
+++ b/odb/oracle/traits.hxx
@@ -455,7 +455,7 @@ namespace odb
if (!is_null)
v = static_cast<T> (details::number_to_int64 (b, n));
else
- v = 0;
+ v = T ();
}
static void
@@ -475,7 +475,7 @@ namespace odb
if (!is_null)
v = static_cast<T> (details::number_to_uint64 (b, n));
else
- v = 0;
+ v = T ();
}
static void