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
1d0bed3a
Commit
1d0bed3a
authored
Aug 07, 2023
by
Samir Halilcevic
Committed by
Dominik Charousset
Aug 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove std::move and std::forward causing warnings
parent
99df3855
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
libcaf_core/caf/detail/config_consumer.cpp
libcaf_core/caf/detail/config_consumer.cpp
+2
-2
libcaf_core/caf/detail/config_consumer.hpp
libcaf_core/caf/detail/config_consumer.hpp
+1
-1
No files found.
libcaf_core/caf/detail/config_consumer.cpp
View file @
1d0bed3a
...
@@ -31,10 +31,10 @@ config_list_consumer::config_list_consumer(config_value_consumer* parent)
...
@@ -31,10 +31,10 @@ config_list_consumer::config_list_consumer(config_value_consumer* parent)
pec
config_list_consumer
::
end_list
()
{
pec
config_list_consumer
::
end_list
()
{
auto
f
=
make_overload
([](
none_t
)
{
return
pec
::
success
;
},
auto
f
=
make_overload
([](
none_t
)
{
return
pec
::
success
;
},
[
this
](
config_consumer
*
ptr
)
{
[
this
](
config_consumer
*
ptr
)
{
return
ptr
->
value
(
config_value
{
std
::
move
(
result
)
});
return
ptr
->
value
(
config_value
{
result
});
},
},
[
this
](
auto
*
ptr
)
{
[
this
](
auto
*
ptr
)
{
ptr
->
value
(
config_value
{
std
::
move
(
result
)
});
ptr
->
value
(
config_value
{
result
});
return
pec
::
success
;
return
pec
::
success
;
});
});
return
visit
(
f
,
parent_
);
return
visit
(
f
,
parent_
);
...
...
libcaf_core/caf/detail/config_consumer.hpp
View file @
1d0bed3a
...
@@ -109,7 +109,7 @@ public:
...
@@ -109,7 +109,7 @@ public:
else
else
return
pec
::
integer_overflow
;
return
pec
::
integer_overflow
;
}
else
{
}
else
{
return
value_impl
(
config_value
{
std
::
forward
<
T
>
(
x
)
});
return
value_impl
(
config_value
{
x
});
}
}
}
}
...
...
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