diff --git a/benchmarks/benchmark.cpp b/benchmarks/benchmark.cpp index eaa7d6c..048df8f 100644 --- a/benchmarks/benchmark.cpp +++ b/benchmarks/benchmark.cpp @@ -216,7 +216,8 @@ void fileload(std::string filename) { line.erase(0, 1); } #endif - volume += lines.emplace_back(line).size(); + lines.emplace_back(line); + volume += line.size(); } std::cout << "# read " << lines.size() << " lines " << std::endl; process(lines, volume); diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 048aed5..bd952ee 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -577,7 +577,7 @@ template constexpr float binary_format_lookup_tables::powers_of_ten[]; template -constexpr uint64_t binary_format_lookup_tables::max_mantissa[]; +constexpr uint32_t binary_format_lookup_tables::max_mantissa[]; #endif