- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/Query/BooleanCommandLineQuery.cpp
rf10b0c r955b91 25 25 #include "CodePatterns/Verbose.hpp" 26 26 27 CommandLineDialog::BooleanCommandLineQuery::BooleanCommandLineQuery( Parameter<bool> ¶m,std::string title, std::string _description) :28 Dialog::BooleanQuery( param,title, _description)27 CommandLineDialog::BooleanCommandLineQuery::BooleanCommandLineQuery(std::string title, std::string _description) : 28 Dialog::BooleanQuery(title, _description) 29 29 {} 30 30 … … 33 33 bool CommandLineDialog::BooleanCommandLineQuery::handle() { 34 34 if (CommandLineParser::getInstance().vm.count(getTitle())) { 35 tmp .set(CommandLineParser::getInstance().vm[getTitle()].as<bool>());35 tmp = CommandLineParser::getInstance().vm[getTitle()].as<bool>(); 36 36 return true; 37 37 } else {
Note:
See TracChangeset
for help on using the changeset viewer.