]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/MgrCap: include <boost/phoenix.hpp> 47363/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 29 Jul 2022 14:35:19 +0000 (22:35 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 29 Jul 2022 14:37:04 +0000 (22:37 +0800)
commit03da55716ca1e277a573c2edca333a339ddc218a
tree20d922efbd954526af12fc6739a866f4195473ec
parent953eaefb65f546a53e171e5f05423b15571c74b2
mgr/MgrCap: include <boost/phoenix.hpp>

instead of include `spirit/include/phoenix.hpp`, include
`<boost/phoenix.hpp>` to silence the warning from boost, like:

/opt/ceph/include/boost/spirit/include/phoenix.hpp:12:1: note: ‘#pragma
message: This header is deprecated. Use <boost/phoenix.hpp> instead.’
   12 | BOOST_HEADER_DEPRECATED("<boost/phoenix.hpp>")
      | ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/mgr/MgrCap.cc