diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-07-21 21:14:30 +0300 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-07-21 21:14:30 +0300 |
| commit | ee8a1573204f76b16b9fb711608447aabee55696 (patch) | |
| tree | 50bbcf182716ee0b5b2e5c1ecf104f7143d0bbfe /src/input-parser.cpp | |
| parent | a7c430fa81c9e22dbce74869a0a27304da78855b (diff) | |
Added header file comments for classes and methods.
Renamed all factory methods to ::Build().
Diffstat (limited to 'src/input-parser.cpp')
| -rw-r--r-- | src/input-parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input-parser.cpp b/src/input-parser.cpp index b5dd55b..677aa48 100644 --- a/src/input-parser.cpp +++ b/src/input-parser.cpp @@ -38,7 +38,7 @@ InputParser::RemoveValues(std::size_t count) } std::unique_ptr<InputParser> -InputParser::FromDataType(DataType dtype, double prescale, bool is_complex) +InputParser::Build(DataType dtype, double prescale, bool is_complex) { if (dtype == DataType::kSignedInt8) { return std::make_unique<IntegerInputParser<std::int8_t>>(prescale, is_complex); |
