Skip to content

Commit 702c97b

Browse files
committed
Fix C++17 mode compilation with Apple clang
1 parent b171791 commit 702c97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/output_test_helper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void ResultsChecker::Add(const std::string& entry_pattern, ResultsCheckFn fn) {
207207
void ResultsChecker::CheckResults(std::stringstream& output) {
208208
// first reset the stream to the start
209209
{
210-
auto start = std::ios::streampos(0);
210+
auto start = std::stringstream::pos_type(0);
211211
// clear before calling tellg()
212212
output.clear();
213213
// seek to zero only when needed

0 commit comments

Comments
 (0)