aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pgsql/types/traits.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgsql/types/traits.hxx b/pgsql/types/traits.hxx
index 9852727..ae3bd9e 100644
--- a/pgsql/types/traits.hxx
+++ b/pgsql/types/traits.hxx
@@ -140,7 +140,7 @@ namespace odb
static void
set_value (unsigned char v[16],
- unsigned char const* i,
+ const unsigned char* i,
bool is_null)
{
if (!is_null)
@@ -150,7 +150,7 @@ namespace odb
}
static void
- set_image (unsigned char* i, bool& is_null, unsigned char const v[16])
+ set_image (unsigned char* i, bool& is_null, const unsigned char v[16])
{
is_null = false;
std::memcpy (i, v, 16);