mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +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);
|
line.erase(0, 1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
volume += lines.emplace_back(line).size();
|
lines.emplace_back(line);
|
||||||
|
volume += line.size();
|
||||||
}
|
}
|
||||||
std::cout << "# read " << lines.size() << " lines " << std::endl;
|
std::cout << "# read " << lines.size() << " lines " << std::endl;
|
||||||
process(lines, volume);
|
process(lines, volume);
|
||||||
|
|||||||
@ -577,7 +577,7 @@ template <typename U>
|
|||||||
constexpr float binary_format_lookup_tables<float, U>::powers_of_ten[];
|
constexpr float binary_format_lookup_tables<float, U>::powers_of_ten[];
|
||||||
|
|
||||||
template <typename U>
|
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
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user