Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beyond Protocol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Maintenance moved to Monday 17.3. at 13:00. ETA 60 - 90 minutes.
Show more breadcrumbs
Beyond AKA
Beyond Protocol
Commits
7c783b03
Commit
7c783b03
authored
2 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Patches
Plain Diff
#3 Remove unsafe UUID copy
parent
9d2526f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ftl/uuid.hpp
+0
-1
0 additions, 1 deletion
include/ftl/uuid.hpp
with
0 additions
and
1 deletion
include/ftl/uuid.hpp
+
0
−
1
View file @
7c783b03
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment