diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-31 16:48:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-31 16:48:09 +0200 |
commit | 3a2c725246767c98d3e61d21292f049980572296 (patch) | |
tree | 1d1c7773373db6bae46ad5d14daf4e329fe20e14 | |
parent | e8162bdac61ac49ae30cdfeae9f2bd3d230df809 (diff) |
Minor optimization
-rw-r--r-- | odb/mysql/traits.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/traits.cxx b/odb/mysql/traits.cxx index 38cffa8..7b901c5 100644 --- a/odb/mysql/traits.cxx +++ b/odb/mysql/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); } } } |