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
4c19bd6a
Commit
4c19bd6a
authored
Dec 16, 2019
by
Jakob Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Denoise linux build
parent
ccd149ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
libcaf_core/caf/detail/init_fun_factory.hpp
libcaf_core/caf/detail/init_fun_factory.hpp
+1
-0
libcaf_core/caf/outbound_path.hpp
libcaf_core/caf/outbound_path.hpp
+2
-1
No files found.
libcaf_core/caf/detail/init_fun_factory.hpp
View file @
4c19bd6a
...
@@ -76,6 +76,7 @@ public:
...
@@ -76,6 +76,7 @@ public:
if
(
hook_
!=
nullptr
)
if
(
hook_
!=
nullptr
)
hook_
(
self
);
hook_
(
self
);
auto
dptr
=
static_cast
<
Base
*>
(
self
);
auto
dptr
=
static_cast
<
Base
*>
(
self
);
CAF_IGNORE_UNUSED
(
dptr
);
if
constexpr
(
ReturnsBehavior
)
{
if
constexpr
(
ReturnsBehavior
)
{
auto
unbox
=
[](
auto
x
)
->
behavior
{
return
std
::
move
(
x
.
unbox
());
};
auto
unbox
=
[](
auto
x
)
->
behavior
{
return
std
::
move
(
x
.
unbox
());
};
if
constexpr
(
args_empty
)
{
if
constexpr
(
args_empty
)
{
...
...
libcaf_core/caf/outbound_path.hpp
View file @
4c19bd6a
...
@@ -108,7 +108,8 @@ public:
...
@@ -108,7 +108,8 @@ public:
return
;
return
;
CAF_ASSERT
(
open_credit
>=
0
);
CAF_ASSERT
(
open_credit
>=
0
);
CAF_ASSERT
(
desired_batch_size
>
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
first
=
cache
.
begin
();
auto
last
auto
last
=
first
+
std
::
min
(
open_credit
,
static_cast
<
int32_t
>
(
cache
.
size
()));
=
first
+
std
::
min
(
open_credit
,
static_cast
<
int32_t
>
(
cache
.
size
()));
...
...
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