mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-12 14:40:00 -06:00
Change arrangement of optional and help text arguments
This commit is contained in:
@@ -93,12 +93,13 @@ bool Verifier::test(const ghoul::Dictionary& dict, const std::string& key) const
|
||||
return false;
|
||||
};
|
||||
|
||||
DocumentationEntry::DocumentationEntry(std::string key, Verifier* t,
|
||||
Optional optional, std::string doc)
|
||||
DocumentationEntry::DocumentationEntry(std::string key, Verifier* t, std::string doc,
|
||||
Optional optional)
|
||||
: key(std::move(key))
|
||||
, tester(std::move(t))
|
||||
, documentation(std::move(doc))
|
||||
, optional(optional)
|
||||
, documentation(std::move(doc)) {}
|
||||
{}
|
||||
|
||||
TestResult testSpecification(const Documentation& d, const ghoul::Dictionary& dictionary){
|
||||
TestResult result;
|
||||
|
||||
Reference in New Issue
Block a user