mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
mgr: add override in mgr subsystem
Fixes: http://tracker.ceph.com/issues/18922 Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
This commit is contained in:
parent
05f1a1987e
commit
491d653632
@ -77,7 +77,7 @@ public:
|
||||
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) {
|
||||
|
@ -399,7 +399,7 @@ public:
|
||||
ServeThread(MgrPyModule *mod_)
|
||||
: mod(mod_) {}
|
||||
|
||||
void *entry()
|
||||
void *entry() override
|
||||
{
|
||||
PyGILState_STATE gstate;
|
||||
gstate = PyGILState_Ensure();
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
Py_DECREF(python_completion);
|
||||
}
|
||||
|
||||
void finish(int r)
|
||||
void finish(int r) override
|
||||
{
|
||||
PyGILState_STATE gstate;
|
||||
gstate = PyGILState_Ensure();
|
||||
|
Loading…
Reference in New Issue
Block a user