Skip to content
Snippets Groups Projects
Commit 7c783b03 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

#3 Remove unsafe UUID copy

parent 9d2526f1
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,6 @@ class UUID {
}
explicit UUID(int u) { memset(uuid_, u, 16); }
explicit UUID(const ftl::UUID &u) { memcpy(uuid_, u.uuid_, 16); }
explicit UUID(const unsigned char *raw) { memcpy(uuid_, raw, 16); }
explicit UUID(const std::string &s) {
#ifdef WIN32
// TODO(Nick) Windows UUID parse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment