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 --- utils/pdb_descr.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/pdb_descr.hpp') diff --git a/utils/pdb_descr.hpp b/utils/pdb_descr.hpp index 5925b93..e00020f 100644 --- a/utils/pdb_descr.hpp +++ b/utils/pdb_descr.hpp @@ -25,7 +25,7 @@ struct PDB { boost::throw_exception(boost::program_options::invalid_option_value{src}); winapi::Address online_base; - if (!winapi::parse_address(online_base, src.substr(0, sep_pos))) + if (!winapi::address::parse(online_base, src.substr(0, sep_pos))) boost::throw_exception(boost::program_options::invalid_option_value{src}); return {online_base, src.substr(sep_pos + 1)}; @@ -33,7 +33,7 @@ struct PDB { static winapi::Address parse_address(const std::string& src) { winapi::Address dest; - if (!winapi::parse_address(dest, src)) + if (!winapi::address::parse(dest, src)) boost::throw_exception(boost::program_options::invalid_option_value{src}); return dest; } -- cgit v1.2.3