From 3bd76ba574e9a3da89600e85c6c35bcb005a1317 Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Sat, 6 May 2023 16:22:03 +0300 Subject: Fix compilation issues. --- src/input-parser.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/input-parser.cpp') diff --git a/src/input-parser.cpp b/src/input-parser.cpp index 677aa48..f9ad73b 100644 --- a/src/input-parser.cpp +++ b/src/input-parser.cpp @@ -41,21 +41,21 @@ std::unique_ptr InputParser::Build(DataType dtype, double prescale, bool is_complex) { if (dtype == DataType::kSignedInt8) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kSignedInt16) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kSignedInt32) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kSignedInt64) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kUnsignedInt8) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kUnsignedInt16) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kUnsignedInt32) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kUnsignedInt64) { - return std::make_unique>(prescale, is_complex); + return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kFloat32) { return std::make_unique>(prescale, is_complex); } else if (dtype == DataType::kFloat64) { @@ -152,15 +152,15 @@ FloatInputParser::ParseBlock(const std::vector &block) return count; } -template class IntegerInputParser; -template class IntegerInputParser; -template class IntegerInputParser; -template class IntegerInputParser; +template class IntegerInputParser; +template class IntegerInputParser; +template class IntegerInputParser; +template class IntegerInputParser; -template class IntegerInputParser; -template class IntegerInputParser; -template class IntegerInputParser; -template class IntegerInputParser; +template class IntegerInputParser; +template class IntegerInputParser; +template class IntegerInputParser; +template class IntegerInputParser; template class FloatInputParser; template class FloatInputParser; -- cgit v1.2.3