mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 20:23:55 +00:00
Option check method error (#320)
This commit is contained in:
parent
09c169c2d9
commit
8ecce8fd2c
@ -351,7 +351,7 @@ class Option : public OptionBase<Option> {
|
|||||||
validator.non_modifying();
|
validator.non_modifying();
|
||||||
validators_.push_back(std::move(validator));
|
validators_.push_back(std::move(validator));
|
||||||
if(!validator_name.empty())
|
if(!validator_name.empty())
|
||||||
validators_.front().name(validator_name);
|
validators_.back().name(validator_name);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user