aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-11 08:21:31 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-14 13:12:02 +0200
commit6a2421094edb84224b0c7d02690522f3f7b8a86c (patch)
tree62b33a0963d7fcd9c4f458509e71cf39a4c20d31
parent534317c72a107920fd3f07ed90092523b761243f (diff)
Const qualify input buffer in big_int_value_traits::set_value signature
-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 74b60a5..eafa2a4 100644
--- a/odb/oracle/traits.hxx
+++ b/odb/oracle/traits.hxx
@@ -407,7 +407,7 @@ namespace odb
struct big_int_value_traits<T, false>
{
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<T> (details::number_to_int64 (b));
@@ -427,7 +427,7 @@ namespace odb
struct big_int_value_traits<T, true>
{
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<T> (details::number_to_uint64 (b));