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