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 /test/unit_tests | |
| 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 '')
| -rw-r--r-- | test/unit_tests/fixtures.hpp | 4 | ||||
| -rw-r--r-- | test/unit_tests/paths.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp index f9f9872..791ad01 100644 --- a/test/unit_tests/fixtures.hpp +++ b/test/unit_tests/fixtures.hpp @@ -46,8 +46,8 @@ public: return name; } - typedef Set<std::string> SymbolList; - typedef Set<winapi::Address> AddressList; + using SymbolList = Set<std::string>; + using AddressList = Set<winapi::Address>; static AddressList expected_function_addresses() { return cast({reinterpret_cast<void*>(&test_ns::foo), diff --git a/test/unit_tests/paths.hpp b/test/unit_tests/paths.hpp index 7750eb5..f9494a6 100644 --- a/test/unit_tests/paths.hpp +++ b/test/unit_tests/paths.hpp @@ -12,7 +12,7 @@ using path = boost::filesystem::path; class Paths { public: - typedef boost::filesystem::path path; + using path = boost::filesystem::path; static Paths& get() { static Paths instance; |
