From b6a0a7091ab7db75b84f101f96d8b38d5f781990 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 31 Jul 2011 16:48:36 +0200 Subject: Minor optimization --- odb/sqlite/traits.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } } -- cgit v1.1