]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/stacktrace/detail/collect_noop.ipp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / stacktrace / detail / collect_noop.ipp
CommitLineData
1e59de90 1// Copyright Antony Polukhin, 2016-2022.
b32b8144
FG
2//
3// Distributed under the Boost Software License, Version 1.0. (See
4// accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#ifndef BOOST_STACKTRACE_DETAIL_COLLECT_NOOP_IPP
8#define BOOST_STACKTRACE_DETAIL_COLLECT_NOOP_IPP
9
10#include <boost/config.hpp>
11#ifdef BOOST_HAS_PRAGMA_ONCE
12# pragma once
13#endif
14
15#include <boost/stacktrace/safe_dump_to.hpp>
16
17namespace boost { namespace stacktrace { namespace detail {
18
19std::size_t this_thread_frames::collect(native_frame_ptr_t* /*out_frames*/, std::size_t /*max_frames_count*/, std::size_t /*skip*/) BOOST_NOEXCEPT {
20 return 0;
21}
22
23}}} // namespace boost::stacktrace::detail
24
25#endif // BOOST_STACKTRACE_DETAIL_COLLECT_NOOP_IPP