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 stacktrace_frame;
|
||||
struct safe_object_frame;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,16 +1,13 @@
|
||||
#ifndef OBJECT_HPP
|
||||
#define OBJECT_HPP
|
||||
|
||||
#include <cpptrace/forward.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
namespace cpptrace {
|
||||
|
||||
struct object_frame;
|
||||
struct safe_object_frame;
|
||||
|
||||
using frame_ptr = std::uintptr_t;
|
||||
|
||||
namespace detail {
|
||||
object_frame get_frame_object_info(frame_ptr address);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user