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/symbol.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/symbol.hpp')
| -rw-r--r-- | include/winapi/debug/symbol.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/winapi/debug/symbol.hpp b/include/winapi/debug/symbol.hpp index a46e9bb..828a040 100644 --- a/include/winapi/debug/symbol.hpp +++ b/include/winapi/debug/symbol.hpp @@ -21,7 +21,7 @@ namespace winapi { namespace symbol { // MinGW-w64 (as of version 7.0) doesn't have SymTagEnum -typedef ULONG Tag; +using Tag = ULONG; constexpr Tag SYM_TAG_FUNCTION = 5; @@ -34,7 +34,7 @@ static_assert(static_cast<Tag>(SymTagFunction) == SYM_TAG_FUNCTION, class SymbolInfo { public: - typedef SYMBOL_INFOW Impl; + using Impl = SYMBOL_INFOW; SymbolInfo(); explicit SymbolInfo(const Impl& impl); @@ -86,7 +86,7 @@ private: class LineInfo { public: - typedef IMAGEHLP_LINEW64 Impl; + using Impl = IMAGEHLP_LINEW64; explicit LineInfo(const Impl& impl); |
