diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-13 20:21:39 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-13 20:21:39 +0200 |
| commit | 04cbf66559545716dc8d9a654c82deb83d4b2bd8 (patch) | |
| tree | 60fc698d5335dc1b54b09c2905ce0155016a36fa /server/main/settings.hpp | |
| parent | finally, perfect .clang-format settings? (diff) | |
| download | math-server-04cbf66559545716dc8d9a654c82deb83d4b2bd8.tar.gz math-server-04cbf66559545716dc8d9a654c82deb83d4b2bd8.zip | |
upgrade to <filesystem>
Diffstat (limited to '')
| -rw-r--r-- | server/main/settings.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main/settings.hpp b/server/main/settings.hpp index afe2f01..b6c5b86 100644 --- a/server/main/settings.hpp +++ b/server/main/settings.hpp @@ -5,11 +5,11 @@ #pragma once -#include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <cstddef> #include <exception> +#include <filesystem> #include <iostream> #include <string> #include <thread> @@ -78,7 +78,7 @@ public: private: static std::string extract_filename(const std::string& path) { - return boost::filesystem::path{path}.filename().string(); + return std::filesystem::path{path}.filename().string(); } const std::string m_prog_name; |
