diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-29 01:33:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-29 01:34:04 +0300 |
commit | bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f (patch) | |
tree | e496012c405316287ef67ebcfecf5f40d4a9a656 /test/test_lib.cpp | |
parent | rename class Repo to PostMortem (diff) | |
download | winapi-debug-bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f.tar.gz winapi-debug-bc78e3308f8bf74a8935f9ef8fd28825d6b48c2f.zip |
move _address functions to winapi::address
Diffstat (limited to 'test/test_lib.cpp')
-rw-r--r-- | test/test_lib.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<void*>(&baz)) << '\n'; + std::cout << "baz " << winapi::address::format(reinterpret_cast<void*>(&baz)) << '\n'; f(); } void bar(F f) { - std::cout << "bar " << winapi::format_address(reinterpret_cast<void*>(&bar)) << '\n'; + std::cout << "bar " << winapi::address::format(reinterpret_cast<void*>(&bar)) << '\n'; baz(f); } void foo(F f) { - std::cout << "foo " << winapi::format_address(reinterpret_cast<void*>(&foo)) << '\n'; + std::cout << "foo " << winapi::address::format(reinterpret_cast<void*>(&foo)) << '\n'; bar(f); } |