diff options
-rw-r--r-- | odb/pgsql/traits.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/traits.cxx b/odb/pgsql/traits.cxx index 1c167b8..a2c2f2f 100644 --- a/odb/pgsql/traits.cxx +++ b/odb/pgsql/traits.cxx @@ -74,7 +74,7 @@ namespace odb // std::vector::data() may not be available in older compilers. // if (n != 0) - memcpy (b.data (), &v[0], n); + memcpy (b.data (), &v.front (), n); } } } |