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
14fbc92b
Commit
14fbc92b
authored
Mar 08, 2019
by
Hauke Goldhammer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix caf::bb::stream_reader
parent
0a48db2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
libcaf_bb/caf/bb/stream_reader.hpp
libcaf_bb/caf/bb/stream_reader.hpp
+5
-2
No files found.
libcaf_bb/caf/bb/stream_reader.hpp
View file @
14fbc92b
...
...
@@ -104,8 +104,11 @@ behavior stream_reader(stream_source_type<iStream>* self, iStream src_stream,
auto
&
st
=
self
->
state
;
Policy
pol
;
size_t
i
=
0
;
while
(
i
<
hint
&&
getline
(
st
.
stream
,
st
.
line
))
i
+=
pol
(
st
.
line
,
out
);
while
(
i
<
hint
&&
getline
(
st
.
stream
,
st
.
line
))
{
auto
count
=
pol
(
st
.
line
,
out
);
if
(
count
.
engaged
())
i
+=
*
count
;
}
},
[
self
](
const
unit_t
&
)
{
return
self
->
state
.
at_end
();
});
// Add the remaining 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