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
1d64fa2d
Commit
1d64fa2d
authored
Jul 20, 2023
by
Samir Halilcevic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix move-forwarding-reference
parent
b618678f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
libcaf_core/caf/config_value.hpp
libcaf_core/caf/config_value.hpp
+1
-1
libcaf_core/caf/flow/op/concat.hpp
libcaf_core/caf/flow/op/concat.hpp
+1
-1
libcaf_core/caf/policy/select_all.hpp
libcaf_core/caf/policy/select_all.hpp
+1
-1
No files found.
libcaf_core/caf/config_value.hpp
View file @
1d64fa2d
...
...
@@ -628,7 +628,7 @@ struct variant_inspector_traits<config_value> {
template
<
class
U
>
static
void
assign
(
value_type
&
x
,
U
&&
value
)
{
x
=
std
::
move
(
value
);
x
=
std
::
forward
<
U
>
(
value
);
}
template
<
class
F
>
...
...
libcaf_core/caf/flow/op/concat.hpp
View file @
1d64fa2d
...
...
@@ -232,7 +232,7 @@ private:
void
add
(
Input
&&
x
)
{
using
input_t
=
std
::
decay_t
<
Input
>
;
static_assert
(
is_observable_v
<
input_t
>
);
inputs_
.
emplace_back
(
std
::
move
(
x
).
as_observable
());
inputs_
.
emplace_back
(
std
::
forward
<
Input
>
(
x
).
as_observable
());
}
std
::
vector
<
input_type
>
inputs_
;
...
...
libcaf_core/caf/policy/select_all.hpp
View file @
1d64fa2d
...
...
@@ -201,7 +201,7 @@ private:
behavior
make_behavior
(
F
&&
f
,
OnError
&&
g
)
{
using
namespace
detail
;
using
helper_type
=
select_all_helper_t
<
decay_t
<
F
>>
;
helper_type
helper
{
ids_
.
size
(),
pending_timeouts_
,
std
::
move
(
f
)};
helper_type
helper
{
ids_
.
size
(),
pending_timeouts_
,
std
::
forward
<
F
>
(
f
)};
auto
pending
=
helper
.
pending
;
auto
error_handler
=
[
pending
{
std
::
move
(
pending
)},
timeouts
{
pending_timeouts_
},
...
...
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