Skip to content

Commit 84e6f5a

Browse files
authored
Merge pull request #460 from ThisIsFineTM/459-fix-LTO-metadata
Fix GCC14.2 LTO bug in metadata-test.
2 parents 3ad99a1 + 31539e9 commit 84e6f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/metadata-test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
std::string fakePNG()
66
{
7-
return "\x89PNG\r\n\x1a\n" + std::string(100, 'x');
7+
return std::string{"\x89PNG\r\n\x1a\n"} + std::string(100, 'x');
88
}
99

1010
TEST(Metadata, isDefaultConstructible)

0 commit comments

Comments
 (0)