mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Fix compilation for older standards
This commit is contained in:
parent
0ba4e20bc4
commit
1febc3a070
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user