Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr: add override in mgr subsystem #13436

Merged
merged 1 commit into from Feb 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mgr/Mgr.cc
Expand Up @@ -77,7 +77,7 @@ class MetadataUpdate : public Context
MetadataUpdate(DaemonStateIndex &daemon_state_, const DaemonKey &key_)
: daemon_state(daemon_state_), key(key_) {}

void finish(int r)
void finish(int r) override
{
daemon_state.clear_updating(key);
if (r == 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/mgr/PyModules.cc
Expand Up @@ -399,7 +399,7 @@ class ServeThread : public Thread
ServeThread(MgrPyModule *mod_)
: mod(mod_) {}

void *entry()
void *entry() override
{
PyGILState_STATE gstate;
gstate = PyGILState_Ensure();
Expand Down
2 changes: 1 addition & 1 deletion src/mgr/PyState.cc
Expand Up @@ -48,7 +48,7 @@ class MonCommandCompletion : public Context
Py_DECREF(python_completion);
}

void finish(int r)
void finish(int r) override
{
PyGILState_STATE gstate;
gstate = PyGILState_Ensure();
Expand Down