From e2961032fd1896899f688cdcdf41f23ed71e3e82 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 May 2021 01:11:44 +0300 Subject: namespace pdb -> namespace winapi --- utils/pdb_descr.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'utils/pdb_descr.hpp') diff --git a/utils/pdb_descr.hpp b/utils/pdb_descr.hpp index 8619fdc..5925b93 100644 --- a/utils/pdb_descr.hpp +++ b/utils/pdb_descr.hpp @@ -14,7 +14,7 @@ #include struct PDB { - pdb::Address online_base; + winapi::Address online_base; std::string path; static PDB parse(std::string src) { @@ -24,16 +24,16 @@ struct PDB { if (sep_pos == std::string::npos) boost::throw_exception(boost::program_options::invalid_option_value{src}); - pdb::Address online_base; - if (!pdb::parse_address(online_base, src.substr(0, sep_pos))) + winapi::Address online_base; + if (!winapi::parse_address(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)}; } - static pdb::Address parse_address(const std::string& src) { - pdb::Address dest; - if (!pdb::parse_address(dest, src)) + static winapi::Address parse_address(const std::string& src) { + winapi::Address dest; + if (!winapi::parse_address(dest, src)) boost::throw_exception(boost::program_options::invalid_option_value{src}); return dest; } @@ -53,7 +53,7 @@ void validate(boost::any& dest, template void validate(boost::any& dest, const std::vector>& src_tokens, - pdb::Address*, + winapi::Address*, int) { namespace po = boost::program_options; po::validators::check_first_occurrence(dest); -- cgit v1.2.3