diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-06 00:20:41 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-06 00:21:07 +0200 |
| commit | faf49e9485927985ee6ecff24eaf285fbab4b218 (patch) | |
| tree | 3eea908424c8a922051719f0e6874d94d4bacf44 /include | |
| parent | upgrade to std::filesystem (diff) | |
| download | winapi-debug-faf49e9485927985ee6ecff24eaf285fbab4b218.tar.gz winapi-debug-faf49e9485927985ee6ecff24eaf285fbab4b218.zip | |
minor fixes
Diffstat (limited to 'include')
| -rw-r--r-- | include/winapi/debug/module.hpp | 2 | ||||
| -rw-r--r-- | include/winapi/debug/post_mortem.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/winapi/debug/module.hpp b/include/winapi/debug/module.hpp index 020219f..0437ddb 100644 --- a/include/winapi/debug/module.hpp +++ b/include/winapi/debug/module.hpp @@ -48,7 +48,7 @@ private: std::string invalid_offline_address(Address offline) const; std::string invalid_online_address(Address online) const; - const Address online_base; + Address online_base; }; } // namespace winapi diff --git a/include/winapi/debug/post_mortem.hpp b/include/winapi/debug/post_mortem.hpp index b031bbf..2b6e5e0 100644 --- a/include/winapi/debug/post_mortem.hpp +++ b/include/winapi/debug/post_mortem.hpp @@ -48,7 +48,7 @@ private: Address address_offline_to_online(Address) const; Address address_online_to_offline(Address) const; - const DbgHelp dbghelp{DbgHelp::post_mortem()}; + DbgHelp dbghelp{DbgHelp::post_mortem()}; std::unordered_set<winapi::File::ID> file_ids; std::map<Address, Module> online_bases; |
