Use forward declaration header in object.hpp
This commit is contained in:
parent
e89eb61a5f
commit
a1fa0a1b81
@ -13,6 +13,7 @@ namespace cpptrace {
|
|||||||
|
|
||||||
struct object_frame;
|
struct object_frame;
|
||||||
struct stacktrace_frame;
|
struct stacktrace_frame;
|
||||||
|
struct safe_object_frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -1,16 +1,13 @@
|
|||||||
#ifndef OBJECT_HPP
|
#ifndef OBJECT_HPP
|
||||||
#define OBJECT_HPP
|
#define OBJECT_HPP
|
||||||
|
|
||||||
|
#include <cpptrace/forward.hpp>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace cpptrace {
|
namespace cpptrace {
|
||||||
|
|
||||||
struct object_frame;
|
|
||||||
struct safe_object_frame;
|
|
||||||
|
|
||||||
using frame_ptr = std::uintptr_t;
|
|
||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
object_frame get_frame_object_info(frame_ptr address);
|
object_frame get_frame_object_info(frame_ptr address);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user