Skip to content

Commit

Permalink
Fix C++17 mode compilation with Apple clang (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
traceon authored and EricWF committed Nov 22, 2018
1 parent b171791 commit 56f5cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/output_test_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56f5cd6

Please sign in to comment.