mirror of
https://github.com/google/benchmark.git
synced 2025-03-14 03:10:22 +08:00
Fix C++17 mode compilation with Apple clang (#721)
This commit is contained in:
parent
b1717916d1
commit
56f5cd6a72
@ -207,7 +207,7 @@ void ResultsChecker::Add(const std::string& entry_pattern, ResultsCheckFn fn) {
|
||||
void ResultsChecker::CheckResults(std::stringstream& output) {
|
||||
// first reset the stream to the start
|
||||
{
|
||||
auto start = std::ios::streampos(0);
|
||||
auto start = std::stringstream::pos_type(0);
|
||||
// clear before calling tellg()
|
||||
output.clear();
|
||||
// seek to zero only when needed
|
||||
|
Loading…
Reference in New Issue
Block a user