]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: only include necessary headers
authorKefu Chai <kchai@redhat.com>
Mon, 16 Nov 2020 08:16:38 +0000 (16:16 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 16 Nov 2020 08:37:17 +0000 (16:37 +0800)
commit24e57a211b6b76885e3e19f8d25c9aa483ed0e16
tree48652baa409d9076514cec1afda62f63713bef58
parent07cba31a03a3a311940a5338944f11ad2c87b641
mgr: only include necessary headers

for two reasons:

* faster compilation with less source files to process
* avoid including "boost/detail/iterator.hpp", so we can
  silence the warning like:

boost/detail/iterator.hpp:13:1: note: ‘#pragma message: This header is
deprecated. Use <iterator> instead.’
   13 | BOOST_HEADER_DEPRECATED("<iterator>")
      | ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mgr/PyModule.cc