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

Merge branch 'bug/#3' into 'main'

#3 Remove unsafe UUID copy

See merge request nicolaspope/beyond-protocol!15
parents 9d2526f1 7c783b03
Branches
Tags
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.
Please register or to comment