diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-05 17:55:20 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-05 17:55:20 +0200 |
| commit | 2f5e519d77b8dc4177c6f9f1dfb47f22820adc3e (patch) | |
| tree | 238e9a0fee244b0b685956e8065c4c5298019240 /include/winapi/debug/dbghelp.hpp | |
| parent | upgrade to std::string_view (diff) | |
| download | winapi-debug-2f5e519d77b8dc4177c6f9f1dfb47f22820adc3e.tar.gz winapi-debug-2f5e519d77b8dc4177c6f9f1dfb47f22820adc3e.zip | |
upgrade from typedef to using
Diffstat (limited to 'include/winapi/debug/dbghelp.hpp')
| -rw-r--r-- | include/winapi/debug/dbghelp.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/winapi/debug/dbghelp.hpp b/include/winapi/debug/dbghelp.hpp index 29e56e7..8fc2cda 100644 --- a/include/winapi/debug/dbghelp.hpp +++ b/include/winapi/debug/dbghelp.hpp @@ -29,12 +29,12 @@ public: ModuleInfo load_pdb(std::string_view path) const; - typedef std::function<void(const ModuleInfo&)> OnModule; + using OnModule = std::function<void(const ModuleInfo&)>; void enum_modules(const OnModule&) const; ModuleInfo resolve_module(Address) const; - typedef std::function<void(const SymbolInfo&)> OnSymbol; + using OnSymbol = std::function<void(const SymbolInfo&)>; static constexpr auto all_symbols = "*!*"; void enum_symbols(const ModuleInfo&, std::string_view mask, const OnSymbol&) const; void enum_symbols(const ModuleInfo&, const OnSymbol&) const; |
