From 6a2421094edb84224b0c7d02690522f3f7b8a86c Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 11 Oct 2011 08:21:31 +0200 Subject: Const qualify input buffer in big_int_value_traits::set_value signature --- odb/oracle/traits.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odb/oracle/traits.hxx b/odb/oracle/traits.hxx index 74b60a5..eafa2a4 100644 --- a/odb/oracle/traits.hxx +++ b/odb/oracle/traits.hxx @@ -407,7 +407,7 @@ namespace odb struct big_int_value_traits { static void - set_value (T v, char* b, bool is_null) + set_value (T v, const char* b, bool is_null) { if (!is_null) v = static_cast (details::number_to_int64 (b)); @@ -427,7 +427,7 @@ namespace odb struct big_int_value_traits { static void - set_value (T v, char* b, bool is_null) + set_value (T v, const char* b, bool is_null) { if (!is_null) v = static_cast (details::number_to_uint64 (b)); -- cgit v1.1