pmt: Minor changes.

- Add build instruction.
 - Improve function lambdas.
This commit is contained in:
2025-08-29 13:40:03 +03:00
parent 1a9b4ff5ad
commit d19343d644
4 changed files with 6 additions and 6 deletions

View File

@@ -29,6 +29,8 @@
bool cls::isUsed() const { return cmd->parsed(); }
#define NAME(cls) const char *cls::name() const
#define COMMON_LAMBDA_PARAMS \
(std::string partition, const PartitionMap::Map_t::BasicInf props)
#define COMMON_FUNCTION_BODY() \
CLI::App *cmd = nullptr; \
bool init(CLI::App &_app) override; \