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
18def4a5
Commit
18def4a5
authored
Jan 17, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linker errors on Ubuntu 16.04
parent
0dd1db38
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
libcaf_core/src/actor_system_config.cpp
libcaf_core/src/actor_system_config.cpp
+3
-4
libcaf_core/test/detail/parser/read_number.cpp
libcaf_core/test/detail/parser/read_number.cpp
+1
-1
libcaf_core/test/typed_spawn.cpp
libcaf_core/test/typed_spawn.cpp
+1
-1
No files found.
libcaf_core/src/actor_system_config.cpp
View file @
18def4a5
...
...
@@ -144,10 +144,9 @@ actor_system_config::actor_system_config()
.
add
<
string
>
(
openssl_cafile
,
"cafile"
,
"path to a file of concatenated PEM-formatted certificates"
);
// add renderers for default error categories
error_renderers
.
emplace
(
error_category
<
sec
>::
value
,
render_sec
);
error_renderers
.
emplace
(
error_category
<
pec
>::
value
,
render_pec
);
error_renderers
.
emplace
(
error_category
<
exit_reason
>::
value
,
render_exit_reason
);
add_error_category
(
error_category
<
sec
>::
value
,
render_sec
);
add_error_category
(
error_category
<
pec
>::
value
,
render_pec
);
add_error_category
(
error_category
<
exit_reason
>::
value
,
render_exit_reason
);
}
settings
actor_system_config
::
dump_content
()
const
{
...
...
libcaf_core/test/detail/parser/read_number.cpp
View file @
18def4a5
...
...
@@ -346,7 +346,7 @@ CAF_TEST(ranges can use signed integers) {
CAF_FAIL("expected expression to produce to an error"); \
} else { \
auto& err = res.error(); \
CAF_CHECK
_EQUAL(err.category(), error_category<pec>::value);
\
CAF_CHECK
(err.category() == error_category<pec>::value);
\
CAF_CHECK_EQUAL(err.code(), static_cast<uint8_t>(enum_value)); \
}
...
...
libcaf_core/test/typed_spawn.cpp
View file @
18def4a5
...
...
@@ -377,7 +377,7 @@ CAF_TEST(maybe_string_delegator_chain) {
.
receive
([](
ok_atom
,
const
string
&
)
{
CAF_FAIL
(
"unexpected string response"
);
},
[](
const
error
&
err
)
{
CAF_CHECK
_EQUAL
(
err
.
category
(),
error_category
<
sec
>::
value
);
CAF_CHECK
(
err
.
category
()
==
error_category
<
sec
>::
value
);
CAF_CHECK_EQUAL
(
err
.
code
(),
static_cast
<
uint8_t
>
(
sec
::
invalid_argument
));
});
...
...
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