1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 22:15:37 +00:00

Fix build with clang and libc++

libc++ does not have such function:

apps/openmw_test_suite/esm3/testesmwriter.cpp:73:30: error: no member named 'view' in 'std::ostringstream'
            EXPECT_EQ(stream.view().size(), size);
                      ~~~~~~ ^
This commit is contained in:
elsid 2023-04-08 13:40:35 +02:00
parent ebb5820dd1
commit aa77e727b8
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -70,7 +70,7 @@ namespace ESM
writer.writeHRefId(refId);
}
EXPECT_EQ(stream.view().size(), size);
EXPECT_EQ(stream.str().size(), size);
}
const std::vector<std::pair<RefId, std::size_t>> refIdSizes = {