diff options
Diffstat (limited to '')
| -rw-r--r-- | utils/command_line.hpp | 8 | ||||
| -rw-r--r-- | utils/enum_symbols.cpp | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/utils/command_line.hpp b/utils/command_line.hpp index ebed79e..d3178f1 100644 --- a/utils/command_line.hpp +++ b/utils/command_line.hpp @@ -22,7 +22,9 @@ public: virtual ~SettingsParser() = default; - virtual const char* get_short_description() const { return "[--option VALUE]..."; } + virtual const char* get_short_description() const { + return "[--option VALUE]..."; + } virtual void parse(int argc, char* argv[]) { boost::program_options::options_description all; @@ -41,7 +43,9 @@ public: bool exit_with_usage = false; - void usage() const { std::cout << *this; } + void usage() const { + std::cout << *this; + } void usage_error(const std::exception& e) const { std::cerr << std::format("usage error: {}\n", e.what()); diff --git a/utils/enum_symbols.cpp b/utils/enum_symbols.cpp index 574f0d0..645bc13 100644 --- a/utils/enum_symbols.cpp +++ b/utils/enum_symbols.cpp @@ -38,11 +38,17 @@ public: std::vector<std::string> pdbs; - bool type_specified() const { return tag != reserved_tag; } + bool type_specified() const { + return tag != reserved_tag; + } - winapi::Symbol::Type get_type() const { return static_cast<winapi::Symbol::Type>(tag); } + winapi::Symbol::Type get_type() const { + return static_cast<winapi::Symbol::Type>(tag); + } - std::string get_mask() const { return symbol_mask; } + std::string get_mask() const { + return symbol_mask; + } private: static constexpr auto reserved_tag = |
