]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/buffer: include <memory> 47694/head
authorKefu Chai <tchaikov@gmail.com>
Mon, 28 Feb 2022 13:46:39 +0000 (21:46 +0800)
committerTim Serong <tserong@suse.com>
Fri, 19 Aug 2022 01:33:19 +0000 (11:33 +1000)
commit1fa0a0db5766bcfe3340f2edc00b6bc703890ed3
treee294a68c200a65a1e52a3ea7e6917778731bfe0d
parentd8f610b9643f0ffafccdb67ab38e9c66321a77ae
include/buffer: include <memory>

to address following FTBFS:

/usr/bin/ccache /usr/bin/clang++-13 -DBOOST_ALL_NO_LIB -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_T$
In file included from /var/ssd/ceph/src/crimson/os/seastore/seastore_types.cc:4:
In file included from /var/ssd/ceph/src/crimson/os/seastore/seastore_types.h:14:
In file included from /var/ssd/ceph/src/include/denc.h:47:
/var/ssd/ceph/src/include/buffer.h:98:37: error: no template named 'unique_ptr' in namespace 'std'; did you mean 'boost::movelib::unique_ptr'?
struct unique_leakable_ptr : public std::unique_ptr<T, ceph::nop_delete<T>> {
                                    ^~~~~~~~~~~~~~~
                                    boost::movelib::unique_ptr
/opt/ceph/include/boost/move/unique_ptr.hpp:354:7: note: 'boost::movelib::unique_ptr' declared here
class unique_ptr
      ^

Fixes: https://tracker.ceph.com/issues/53896
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 7c381ba985bd1398ef7d145cc00fae9d0db510e3)
src/include/buffer.h