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
8a8f44d3
Commit
8a8f44d3
authored
Jun 03, 2019
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address a few copy-elision warnings
parent
b949cccc
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/parser/read_uri.hpp
libcaf_core/caf/detail/parser/read_uri.hpp
+2
-2
libcaf_core/caf/scheduled_actor.hpp
libcaf_core/caf/scheduled_actor.hpp
+1
-1
No files found.
libcaf_core/caf/detail/parser/read_uri.hpp
View file @
8a8f44d3
...
...
@@ -86,7 +86,7 @@ void read_uri_query(state<Iterator, Sentinel>& ps, Consumer&& consumer) {
using
std
::
swap
;
std
::
string
res
;
swap
(
str
,
res
);
return
std
::
move
(
res
)
;
return
res
;
};
auto
push
=
[
&
]
{
result
.
emplace
(
take_str
(
key
),
take_str
(
value
));
...
...
@@ -124,7 +124,7 @@ void read_uri(state<Iterator, Sentinel>& ps, Consumer&& consumer) {
using
std
::
swap
;
std
::
string
res
;
swap
(
str
,
res
);
return
std
::
move
(
res
)
;
return
res
;
};
// Allowed character sets.
auto
path_char
=
[](
char
c
)
{
...
...
libcaf_core/caf/scheduled_actor.hpp
View file @
8a8f44d3
...
...
@@ -610,7 +610,7 @@ public:
typename
Driver
::
stage_ptr_type
make_continuous_stage
(
Ts
&&
...
xs
)
{
auto
ptr
=
detail
::
make_stream_stage
<
Driver
>
(
this
,
std
::
forward
<
Ts
>
(
xs
)...);
ptr
->
continuous
(
true
);
return
std
::
move
(
ptr
)
;
return
ptr
;
}
template
<
class
Init
,
class
Fun
,
class
Cleanup
,
...
...
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