diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_lib.hpp | 2 | ||||
| -rw-r--r-- | test/unit_tests/fixtures.hpp | 4 | ||||
| -rw-r--r-- | test/unit_tests/paths.hpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/test_lib.hpp b/test/test_lib.hpp index 2506d93..ec4e9db 100644 --- a/test/test_lib.hpp +++ b/test/test_lib.hpp @@ -11,7 +11,7 @@ namespace test_ns { -typedef void (*F)(); +using F = void (*)(); TEST_LIB_API extern volatile int var; 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; |
