diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-12 22:59:04 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-12 22:59:04 +0200 |
| commit | eba873815bbb803fb298e3fb07502d22e3c5df6e (patch) | |
| tree | 47794c27c6a4c1245b6ae14024dcf0f068605209 /include/winapi/debug/module.hpp | |
| parent | cmake: use CONFIGURE_DEPENDS (diff) | |
| download | winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.tar.gz winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.zip | |
unify my .clang-format files
Diffstat (limited to 'include/winapi/debug/module.hpp')
| -rw-r--r-- | include/winapi/debug/module.hpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/include/winapi/debug/module.hpp b/include/winapi/debug/module.hpp index 0437ddb..591bcb5 100644 --- a/include/winapi/debug/module.hpp +++ b/include/winapi/debug/module.hpp @@ -21,10 +21,17 @@ public: ModuleInfo(); explicit ModuleInfo(const Impl& impl); - explicit operator Impl&() { return impl; } - explicit operator const Impl&() const { return impl; } + explicit operator Impl&() { + return impl; + } - Address get_offline_base() const { return impl.BaseOfImage; } + explicit operator const Impl&() const { + return impl; + } + + Address get_offline_base() const { + return impl.BaseOfImage; + } std::string get_name() const; @@ -39,7 +46,9 @@ public: Module(Address online_base, const ModuleInfo& info) : ModuleInfo{info}, online_base{online_base} {} - Address get_online_base() const { return online_base; } + Address get_online_base() const { + return online_base; + } Address translate_offline_address(Address offline) const; Address translate_online_address(Address online) const; |
