aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Glazachev <traceon@users.noreply.github.com>2018-11-22 06:38:25 +0400
committerEric <eric@efcs.ca>2018-11-21 21:38:24 -0500
commit56f5cd6a729280ba7639574bd49a2bf4be7f1c4b (patch)
tree44cd65fc7e8d569232d29052bd483444138fe7f3
parentb1717916d1acafbd0753c145f30f76b06f2933e5 (diff)
downloadgoogle-benchmark-56f5cd6a729280ba7639574bd49a2bf4be7f1c4b.tar.gz
Fix C++17 mode compilation with Apple clang (#721)
-rw-r--r--test/output_test_helper.cc2
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