Replace separate parse function with constructor.

This commit is contained in:
2018-04-09 13:56:34 +02:00
parent 2c373fbd1e
commit 8cdeefc37b
3 changed files with 21 additions and 30 deletions

View File

@@ -14,7 +14,7 @@ namespace fmri {
class Options {
public:
static Options parse(const int argc, char *const argv[]);
Options(const int argc, char *const argv[]);
const string& model() const;
const string& weights() const;
@@ -37,7 +37,5 @@ namespace fmri {
string labelsPath;
string dumpPath;
vector<string> inputPaths;
Options() noexcept;
};
}