Fix compilation for older standards

This commit is contained in:
IRainman 2025-05-05 20:19:46 +03:00
parent 0ba4e20bc4
commit 1febc3a070
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -577,7 +577,7 @@ template <typename U>
constexpr float binary_format_lookup_tables<float, U>::powers_of_ten[];
template <typename U>
constexpr uint64_t binary_format_lookup_tables<float, U>::max_mantissa[];
constexpr uint32_t binary_format_lookup_tables<float, U>::max_mantissa[];
#endif