diff options
Diffstat (limited to 'libcxx/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp')
-rw-r--r-- | libcxx/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp b/libcxx/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp index f4e3ded1745..e907708d0f2 100644 --- a/libcxx/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp +++ b/libcxx/test/std/input.output/iostream.format/ext.manip/put_time.pass.cpp @@ -56,7 +56,7 @@ int main() testbuf<char> sb; std::ostream os(&sb); os.imbue(std::locale(LOCALE_en_US_UTF_8)); - std::tm t = {0}; + std::tm t = {}; t.tm_sec = 59; t.tm_min = 55; t.tm_hour = 23; @@ -72,7 +72,7 @@ int main() testbuf<wchar_t> sb; std::wostream os(&sb); os.imbue(std::locale(LOCALE_en_US_UTF_8)); - std::tm t = {0}; + std::tm t = {}; t.tm_sec = 59; t.tm_min = 55; t.tm_hour = 23; |