Skip to content

Commit 4f202ce

Browse files
committed
Try to fix the static_assert() for pre-C++17
1 parent a943081 commit 4f202ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void test_tellg(std::streamoff total_size) {
6565
int main(int, char**) {
6666
// This test assumes and requires that std::streamoff is larger than
6767
// 32 bit - this is not required in the standard itself.
68-
static_assert(sizeof(std::streamoff) > 4);
68+
static_assert(sizeof(std::streamoff) > 4, "");
6969
test_tellg(0x100000042ULL);
7070
return 0;
7171
}

0 commit comments

Comments
 (0)