diff options
author | saturneric <[email protected]> | 2024-01-12 15:08:38 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-12 15:08:38 +0000 |
commit | 6983b5c1dd82d159236ebd06cf17f071cc9c1ee9 (patch) | |
tree | fc53f790e33546320b2ecd306a1a9ade6fbdfe7a /src/cmd.h | |
parent | fix: slove a heap-use-after-free issue (diff) | |
download | GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.tar.gz GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.zip |
refactor: remove boost and use QString instead of std::filesystem::path
Diffstat (limited to 'src/cmd.h')
-rw-r--r-- | src/cmd.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -28,9 +28,6 @@ #pragma once -// boost -#include <boost/program_options.hpp> - #include "GpgFrontendContext.h" namespace GpgFrontend { @@ -39,8 +36,7 @@ namespace GpgFrontend { auto PrintVersion() -> int; -auto ParseLogLevel(const boost::program_options::variables_map&) - -> spdlog::level::level_enum; +auto ParseLogLevel(const QString& level) -> spdlog::level::level_enum; auto RunTest(const GFCxtWPtr&) -> int; |