aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite')
-rw-r--r--odb/sqlite/traits.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/sqlite/traits.cxx b/odb/sqlite/traits.cxx
index 96e201d..62093e9 100644
--- a/odb/sqlite/traits.cxx
+++ b/odb/sqlite/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);
}
}
}