From bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 May 2021 01:33:39 +0300 Subject: move _address functions to winapi::address --- test/test_lib.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_lib.cpp') diff --git a/test/test_lib.cpp b/test/test_lib.cpp index bdb7bbf..caecc8b 100644 --- a/test/test_lib.cpp +++ b/test/test_lib.cpp @@ -32,17 +32,17 @@ void do_throw_call_stack() { volatile int var = 42; void baz(F f) { - std::cout << "baz " << winapi::format_address(reinterpret_cast(&baz)) << '\n'; + std::cout << "baz " << winapi::address::format(reinterpret_cast(&baz)) << '\n'; f(); } void bar(F f) { - std::cout << "bar " << winapi::format_address(reinterpret_cast(&bar)) << '\n'; + std::cout << "bar " << winapi::address::format(reinterpret_cast(&bar)) << '\n'; baz(f); } void foo(F f) { - std::cout << "foo " << winapi::format_address(reinterpret_cast(&foo)) << '\n'; + std::cout << "foo " << winapi::address::format(reinterpret_cast(&foo)) << '\n'; bar(f); } -- cgit v1.2.3