diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-05 17:47:31 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-05 17:47:31 +0200 |
| commit | dfcebbeae9d982b8e2a42197b2892334b665de2d (patch) | |
| tree | 182339f03eae894aad97f0fc55b0d8438c4ef62d /utils/pdb_descr.hpp | |
| parent | upgrade to std::optional (diff) | |
| download | winapi-debug-dfcebbeae9d982b8e2a42197b2892334b665de2d.tar.gz winapi-debug-dfcebbeae9d982b8e2a42197b2892334b665de2d.zip | |
upgrade to std::string_view
Diffstat (limited to '')
| -rw-r--r-- | utils/pdb_descr.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/pdb_descr.hpp b/utils/pdb_descr.hpp index fbf0950..3e24f2c 100644 --- a/utils/pdb_descr.hpp +++ b/utils/pdb_descr.hpp @@ -10,13 +10,14 @@ #include <boost/program_options.hpp> #include <string> +#include <string_view> #include <vector> struct PDB { winapi::Address online_base; std::string path; - static PDB parse(std::string src) { + static PDB parse(const std::string& src) { static constexpr auto sep = ','; const auto sep_pos = src.find(sep); |
