Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
f0469b05
Commit
f0469b05
authored
Mar 28, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate review feedback
parent
215076d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
libcaf_core/test/uuid.cpp
libcaf_core/test/uuid.cpp
+1
-5
No files found.
libcaf_core/test/uuid.cpp
View file @
f0469b05
...
...
@@ -60,8 +60,6 @@ struct fixture {
"934a33b6-7f0c-4d70-9749-5ad4292358dd"
_uuid
,
"bf761f7c-00f2-4161-855e-e286cfa63c11"
_uuid
,
};
uuid
x
;
};
}
// namespace
...
...
@@ -102,9 +100,7 @@ CAF_TEST(make_uuid rejects strings with invalid variant or version values) {
pec
::
invalid_argument
);
}
#define WITH(uuid_str) \
x = uuid_str##_uuid; \
for (int dummy = 0; dummy < 1; ++dummy)
#define WITH(uuid_str) if (auto x = uuid_str##_uuid; true)
CAF_TEST
(
version
1
defines
UUIDs
that
are
based
on
time
)
{
CAF_CHECK_EQUAL
(
v1
[
0
].
version
(),
uuid
::
time_based
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment