diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-05 18:18:12 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-05 18:18:12 +0200 |
| commit | 7543163a4da54f7b9ca9813fc425baebdcaa2da9 (patch) | |
| tree | 94c4eba7fbd72c4f272895e1d9536a7884cfb5da /utils/command_line.hpp | |
| parent | use regular `throw` instead of the Boost function (diff) | |
| download | winapi-debug-7543163a4da54f7b9ca9813fc425baebdcaa2da9.tar.gz winapi-debug-7543163a4da54f7b9ca9813fc425baebdcaa2da9.zip | |
upgrade to std::filesystem
Diffstat (limited to 'utils/command_line.hpp')
| -rw-r--r-- | utils/command_line.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/command_line.hpp b/utils/command_line.hpp index 7537d51..8f4b949 100644 --- a/utils/command_line.hpp +++ b/utils/command_line.hpp @@ -5,10 +5,10 @@ #pragma once -#include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <exception> +#include <filesystem> #include <iostream> #include <ostream> #include <string> @@ -54,7 +54,7 @@ protected: private: static std::string extract_filename(char* path) { - return boost::filesystem::path{path}.filename().string(); + return std::filesystem::path{path}.filename().string(); } const std::string prog_name; |
