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
17f78dee
Commit
17f78dee
authored
Dec 12, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shadowing warning
parent
6fee6f74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libcaf_io/caf/io/network/default_multiplexer.hpp
libcaf_io/caf/io/network/default_multiplexer.hpp
+3
-3
No files found.
libcaf_io/caf/io/network/default_multiplexer.hpp
View file @
17f78dee
...
...
@@ -356,8 +356,8 @@ class default_multiplexer : public multiplexer {
CAF_LOG_TRACE
(
CAF_TARG
(
op
,
static_cast
<
int
>
)
<<
", "
<<
CAF_ARG
(
fd
)
<<
", "
CAF_ARG
(
ptr
)
<<
", "
<<
CAF_ARG
(
old_bf
));
auto
event_less
=
[](
const
event
&
e
,
native_socket
fd
)
->
bool
{
return
e
.
fd
<
fd
;
auto
event_less
=
[](
const
event
&
e
,
native_socket
arg
)
->
bool
{
return
e
.
fd
<
arg
;
};
auto
last
=
m_events
.
end
();
auto
i
=
std
::
lower_bound
(
m_events
.
begin
(),
last
,
fd
,
event_less
);
...
...
@@ -483,7 +483,7 @@ class stream : public event_handler {
switch
(
op
)
{
case
operation
:
:
read
:
m_reader
.
reset
();
break
;
case
operation
:
:
write
:
m_writer
.
reset
();
break
;
default
:
break
;
case
operation
:
:
propagate_error
:
break
;
}
}
...
...
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