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 --- include/winapi/debug/address.hpp | 4 ++-- include/winapi/debug/call_stack.hpp | 4 ++-- include/winapi/debug/dbghelp.hpp | 6 +++--- include/winapi/debug/module.hpp | 4 ++-- include/winapi/debug/repo.hpp | 4 ++-- include/winapi/debug/symbol.hpp | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/winapi/debug/address.hpp b/include/winapi/debug/address.hpp index 3d7acd6..1370ed4 100644 --- a/include/winapi/debug/address.hpp +++ b/include/winapi/debug/address.hpp @@ -10,7 +10,7 @@ #include #include -namespace pdb { +namespace winapi { typedef DWORD64 Address; @@ -31,4 +31,4 @@ inline bool parse_address(Address& dest, const std::string& src) { return iss >> dest && !iss.get(c); } -} // namespace pdb +} // namespace winapi diff --git a/include/winapi/debug/call_stack.hpp b/include/winapi/debug/call_stack.hpp index 30f642c..e5b8c41 100644 --- a/include/winapi/debug/call_stack.hpp +++ b/include/winapi/debug/call_stack.hpp @@ -16,7 +16,7 @@ #include #include -namespace pdb { +namespace winapi { class CallStack { public: @@ -50,4 +50,4 @@ private: CallStack() = default; }; -} // namespace pdb +} // namespace winapi diff --git a/include/winapi/debug/dbghelp.hpp b/include/winapi/debug/dbghelp.hpp index 6965823..fb179f3 100644 --- a/include/winapi/debug/dbghelp.hpp +++ b/include/winapi/debug/dbghelp.hpp @@ -14,7 +14,7 @@ #include #include -namespace pdb { +namespace winapi { class DbgHelp { public: @@ -60,12 +60,12 @@ inline void swap(DbgHelp& a, DbgHelp& b) noexcept { a.swap(b); } -} // namespace pdb +} // namespace winapi namespace std { template <> -inline void swap(pdb::DbgHelp& a, pdb::DbgHelp& b) noexcept { +inline void swap(winapi::DbgHelp& a, winapi::DbgHelp& b) noexcept { a.swap(b); } diff --git a/include/winapi/debug/module.hpp b/include/winapi/debug/module.hpp index 5cfa69d..767aab9 100644 --- a/include/winapi/debug/module.hpp +++ b/include/winapi/debug/module.hpp @@ -12,7 +12,7 @@ #include -namespace pdb { +namespace winapi { class ModuleInfo { public: @@ -51,4 +51,4 @@ private: const Address online_base; }; -} // namespace pdb +} // namespace winapi diff --git a/include/winapi/debug/repo.hpp b/include/winapi/debug/repo.hpp index 3b194ff..8ee7fde 100644 --- a/include/winapi/debug/repo.hpp +++ b/include/winapi/debug/repo.hpp @@ -17,7 +17,7 @@ #include #include -namespace pdb { +namespace winapi { class Repo { public: @@ -55,4 +55,4 @@ private: std::map offline_bases; }; -} // namespace pdb +} // namespace winapi diff --git a/include/winapi/debug/symbol.hpp b/include/winapi/debug/symbol.hpp index 47e4fb1..a46e9bb 100644 --- a/include/winapi/debug/symbol.hpp +++ b/include/winapi/debug/symbol.hpp @@ -17,7 +17,7 @@ #include #include -namespace pdb { +namespace winapi { namespace symbol { // MinGW-w64 (as of version 7.0) doesn't have SymTagEnum @@ -94,4 +94,4 @@ public: const unsigned long line_number; }; -} // namespace pdb +} // namespace winapi -- cgit v1.2.3