diff options
author | Denis Glazachev <traceon@users.noreply.github.com> | 2018-11-22 06:38:25 +0400 |
---|---|---|
committer | Eric <eric@efcs.ca> | 2018-11-21 21:38:24 -0500 |
commit | 56f5cd6a729280ba7639574bd49a2bf4be7f1c4b (patch) | |
tree | 44cd65fc7e8d569232d29052bd483444138fe7f3 | |
parent | b1717916d1acafbd0753c145f30f76b06f2933e5 (diff) | |
download | google-benchmark-56f5cd6a729280ba7639574bd49a2bf4be7f1c4b.tar.gz |
Fix C++17 mode compilation with Apple clang (#721)
-rw-r--r-- | test/output_test_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/output_test_helper.cc b/test/output_test_helper.cc index f2da752..6c9385a 100644 --- a/test/output_test_helper.cc +++ b/test/output_test_helper.cc @@ -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 |