aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/debug/post_mortem.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-05 17:47:31 +0200
committerEgor Tensin <egor@tensin.name>2026-06-05 17:47:31 +0200
commitdfcebbeae9d982b8e2a42197b2892334b665de2d (patch)
tree182339f03eae894aad97f0fc55b0d8438c4ef62d /include/winapi/debug/post_mortem.hpp
parentupgrade to std::optional (diff)
downloadwinapi-debug-dfcebbeae9d982b8e2a42197b2892334b665de2d.tar.gz
winapi-debug-dfcebbeae9d982b8e2a42197b2892334b665de2d.zip
upgrade to std::string_view
Diffstat (limited to '')
-rw-r--r--include/winapi/debug/post_mortem.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/winapi/debug/post_mortem.hpp b/include/winapi/debug/post_mortem.hpp
index bf4ad83..5ddc85e 100644
--- a/include/winapi/debug/post_mortem.hpp
+++ b/include/winapi/debug/post_mortem.hpp
@@ -14,7 +14,7 @@
#include <functional>
#include <map>
-#include <string>
+#include <string_view>
#include <unordered_set>
namespace winapi {
@@ -23,7 +23,7 @@ class PostMortem {
public:
PostMortem() = default;
- Address add_pdb(Address online_base, const std::string& path);
+ Address add_pdb(Address online_base, std::string_view path);
typedef std::function<void(const Symbol&)> OnSymbol;
void enum_symbols(const OnSymbol&) const;
@@ -31,7 +31,7 @@ public:
void enum_symbols(const Module&, const OnSymbol&) const;
Symbol resolve_symbol(Address) const;
- Symbol resolve_symbol(const std::string&) const;
+ Symbol resolve_symbol(std::string_view) const;
LineInfo resolve_line(Address) const;