Skip to content

Commit e8ced30

Browse files
committed
Fixed merge error leading to compile error.
1 parent dac42f8 commit e8ced30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/filesystem_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ struct StringMaker<fs::file_time_type>
119119
{
120120
std::time_t t = to_time_t(value);
121121
std::tm* ptm = std::localtime(&t);
122+
std::ostringstream os;
122123
if (ptm) {
123124
std::tm ttm = *ptm;
124-
std::ostringstream os;
125125
os << std::put_time(&ttm, "%Y-%m-%d %H:%M:%S");
126126
}
127127
else {

0 commit comments

Comments
 (0)