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
0964a009
Unverified
Commit
0964a009
authored
Dec 16, 2019
by
Dominik Charousset
Committed by
GitHub
Dec 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #995
Denoise gcc build on linux
parents
ccd149ed
63be8a11
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
libcaf_core/caf/detail/init_fun_factory.hpp
libcaf_core/caf/detail/init_fun_factory.hpp
+1
-1
libcaf_core/caf/outbound_path.hpp
libcaf_core/caf/outbound_path.hpp
+2
-1
libcaf_core/caf/settings.hpp
libcaf_core/caf/settings.hpp
+1
-1
No files found.
libcaf_core/caf/detail/init_fun_factory.hpp
View file @
0964a009
...
...
@@ -75,7 +75,7 @@ public:
behavior
operator
()(
local_actor
*
self
)
final
{
if
(
hook_
!=
nullptr
)
hook_
(
self
);
auto
dptr
=
static_cast
<
Base
*>
(
self
);
[[
maybe_unused
]]
auto
dptr
=
static_cast
<
Base
*>
(
self
);
if
constexpr
(
ReturnsBehavior
)
{
auto
unbox
=
[](
auto
x
)
->
behavior
{
return
std
::
move
(
x
.
unbox
());
};
if
constexpr
(
args_empty
)
{
...
...
libcaf_core/caf/outbound_path.hpp
View file @
0964a009
...
...
@@ -108,7 +108,8 @@ public:
return
;
CAF_ASSERT
(
open_credit
>=
0
);
CAF_ASSERT
(
desired_batch_size
>
0
);
CAF_ASSERT
(
cache
.
size
()
<=
std
::
numeric_limits
<
int32_t
>::
max
());
CAF_ASSERT
(
cache
.
size
()
<=
static_cast
<
size_t
>
(
std
::
numeric_limits
<
int32_t
>::
max
()));
auto
first
=
cache
.
begin
();
auto
last
=
first
+
std
::
min
(
open_credit
,
static_cast
<
int32_t
>
(
cache
.
size
()));
...
...
libcaf_core/caf/settings.hpp
View file @
0964a009
...
...
@@ -70,7 +70,7 @@ T get_or(const settings& xs, string_view name, T default_value) {
auto
result
=
get_if
<
T
>
(
&
xs
,
name
);
if
(
result
)
return
std
::
move
(
*
result
);
return
std
::
move
(
default_value
)
;
return
default_value
;
}
CAF_CORE_EXPORT
std
::
string
...
...
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