From: Adam C. Emerson Date: Thu, 28 Feb 2019 17:33:53 +0000 (-0500) Subject: mgr: Remove unused lambda capture X-Git-Tag: v15.0.0~178^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5050d06650545ea400cbc59f26ec66b1026182ca;p=ceph.git mgr: Remove unused lambda capture Signed-off-by: Adam C. Emerson --- diff --git a/src/mgr/ActivePyModules.cc b/src/mgr/ActivePyModules.cc index 9e32dce58ca..0f3f508eb6f 100644 --- a/src/mgr/ActivePyModules.cc +++ b/src/mgr/ActivePyModules.cc @@ -327,7 +327,7 @@ PyObject *ActivePyModules::get_python(const std::string &what) return f.get(); } else if (what == "df") { cluster_state.with_osdmap_and_pgmap( - [this, &f, &tstate]( + [&f, &tstate]( const OSDMap& osd_map, const PGMap &pg_map) { PyEval_RestoreThread(tstate);