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 --- src/module.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/module.cpp') diff --git a/src/module.cpp b/src/module.cpp index d676151..47d8eaf 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -60,15 +60,15 @@ Address Module::translate_online_address(Address online) const { std::string Module::invalid_offline_address(Address offline) const { std::ostringstream oss; - oss << "offline address " << format_address(offline) << " doesn't belong to module " - << get_name() << " (base offline address " << format_address(get_offline_base()) << ')'; + oss << "offline address " << address::format(offline) << " doesn't belong to module " + << get_name() << " (base offline address " << address::format(get_offline_base()) << ')'; return oss.str(); } std::string Module::invalid_online_address(Address online) const { std::ostringstream oss; - oss << "online address " << format_address(online) << " doesn't belong to module " << get_name() - << " (base online address " << format_address(get_online_base()) << ')'; + oss << "online address " << address::format(online) << " doesn't belong to module " + << get_name() << " (base online address " << address::format(get_online_base()) << ')'; return oss.str(); } -- cgit v1.2.3