From c073ed8f702e98ec56ed05e0c02167e355e6ee31 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 24 Mar 2020 01:34:52 +0300 Subject: switch to Boost.Nowide everywhere --- include/pdb/module.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/pdb/module.hpp') diff --git a/include/pdb/module.hpp b/include/pdb/module.hpp index 1a5b227..81312b9 100644 --- a/include/pdb/module.hpp +++ b/include/pdb/module.hpp @@ -16,7 +16,7 @@ namespace pdb { class ModuleInfo { public: - typedef IMAGEHLP_MODULE64 Impl; + typedef IMAGEHLP_MODULEW64 Impl; ModuleInfo(); explicit ModuleInfo(const Impl& impl); @@ -26,7 +26,7 @@ public: Address get_offline_base() const { return impl.BaseOfImage; } - std::string get_name() const { return impl.ModuleName; } + std::string get_name() const; private: static Impl create_impl(); -- cgit v1.3