Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
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
Libraries
pistache
Commits
0533ed57
Commit
0533ed57
authored
Oct 14, 2018
by
knowledge4igor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more override warnigns
parent
ff21c524
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/common/reactor.cc
src/common/reactor.cc
+6
-6
No files found.
src/common/reactor.cc
View file @
0533ed57
...
...
@@ -131,7 +131,7 @@ public:
poller
.
rearmFd
(
fd
,
interest
,
pollTag
,
mode
);
}
void
runOnce
()
{
void
runOnce
()
override
{
if
(
handlers_
.
empty
())
throw
std
::
runtime_error
(
"You need to set at least one handler"
);
...
...
@@ -153,7 +153,7 @@ public:
}
}
void
run
()
{
void
run
()
override
{
handlers_
.
forEachHandler
([](
const
std
::
shared_ptr
<
Handler
>
handler
)
{
handler
->
context_
.
tid
=
std
::
this_thread
::
get_id
();
});
...
...
@@ -162,7 +162,7 @@ public:
runOnce
();
}
void
shutdown
()
{
void
shutdown
()
override
{
shutdown_
.
store
(
true
);
shutdownFd
.
notify
();
}
...
...
@@ -413,15 +413,15 @@ public:
dispatchCall
(
key
,
&
SyncImpl
::
modifyFd
,
fd
,
interest
,
tag
,
mode
);
}
void
runOnce
()
{
void
runOnce
()
override
{
}
void
run
()
{
void
run
()
override
{
for
(
auto
&
wrk
:
workers_
)
wrk
->
run
();
}
void
shutdown
()
{
void
shutdown
()
override
{
for
(
auto
&
wrk
:
workers_
)
wrk
->
shutdown
();
}
...
...
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