aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/uuid/mysql/uuid-traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/boost/uuid/mysql/uuid-traits.hxx')
-rw-r--r--odb/boost/uuid/mysql/uuid-traits.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/boost/uuid/mysql/uuid-traits.hxx b/odb/boost/uuid/mysql/uuid-traits.hxx
index 47d5fce..30af53f 100644
--- a/odb/boost/uuid/mysql/uuid-traits.hxx
+++ b/odb/boost/uuid/mysql/uuid-traits.hxx
@@ -13,11 +13,10 @@
#include <odb/pre.hxx>
-#include <cstring> // std::memcpy
+#include <cstring> // std::memcpy, std::memset
#include <cassert>
#include <boost/uuid/uuid.hpp>
-#include <boost/uuid/nil_generator.hpp>
#include <odb/mysql/traits.hxx>
@@ -44,7 +43,7 @@ namespace odb
std::memcpy (v.data, b.data (), 16);
}
else
- v = ::boost::uuids::nil_uuid ();
+ std::memset (v.data, 0, 16);
}
static void