Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
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-incubator
Commits
fa4b5712
Commit
fa4b5712
authored
Jul 03, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unused parameter warnings
parent
92141dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libcaf_bb/caf/bb/stream_reader.hpp
libcaf_bb/caf/bb/stream_reader.hpp
+2
-2
No files found.
libcaf_bb/caf/bb/stream_reader.hpp
View file @
fa4b5712
...
@@ -80,7 +80,7 @@ void stream_reader(stream_source_type<InputStream>* self,
...
@@ -80,7 +80,7 @@ void stream_reader(stream_source_type<InputStream>* self,
// Spin up stream manager and connect the first sink.
// Spin up stream manager and connect the first sink.
auto
src
=
self
->
make_source
(
auto
src
=
self
->
make_source
(
std
::
move
(
sink
),
std
::
move
(
sink
),
[
&
](
Policy
&
pol
)
{
[
&
](
Policy
&
)
{
// nop
// nop
},
},
[
self
](
Policy
&
pol
,
downstream
<
value_type
>&
out
,
size_t
hint
)
{
[
self
](
Policy
&
pol
,
downstream
<
value_type
>&
out
,
size_t
hint
)
{
...
@@ -94,7 +94,7 @@ void stream_reader(stream_source_type<InputStream>* self,
...
@@ -94,7 +94,7 @@ void stream_reader(stream_source_type<InputStream>* self,
}
}
}
}
},
},
[
self
](
const
Policy
&
pol
)
{
return
self
->
state
.
at_end
();
});
[
self
](
const
Policy
&
)
{
return
self
->
state
.
at_end
();
});
// Add the remaining sinks.
// Add the remaining sinks.
unit
(
src
.
ptr
()
->
add_outbound_path
(
sinks
)...);
unit
(
src
.
ptr
()
->
add_outbound_path
(
sinks
)...);
}
}
...
...
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