Skip to content

Commit 08cb293

Browse files
committed
={}
Created using spr 1.3.4
1 parent 295c292 commit 08cb293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/src/iostream.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ union stream_data {
4242
# define STREAM(StreamT, BufferT, CharT, var) \
4343
constinit stream_data<StreamT<CharT>, BufferT<CharT>> var __asm__( \
4444
"?" #var "@" ABI_NAMESPACE_STR "@std@@3V?$" #StreamT \
45-
"@" CHAR_MANGLING(CharT) "U?$char_traits@" CHAR_MANGLING(CharT) "@" ABI_NAMESPACE_STR "@std@@@12@A")
45+
"@" CHAR_MANGLING(CharT) "U?$char_traits@" CHAR_MANGLING(CharT) "@" ABI_NAMESPACE_STR "@std@@@12@A") var = {}
4646
#else
47-
# define STREAM(StreamT, BufferT, CharT, var) constinit stream_data<StreamT<CharT>, BufferT<CharT>> var
47+
# define STREAM(StreamT, BufferT, CharT, var) constinit stream_data<StreamT<CharT>, BufferT<CharT>> var = {}
4848
#endif
4949

5050
// These definitions and the declarations in <iostream> technically cause ODR violations, since they have different

0 commit comments

Comments
 (0)