Mercurial > minori
comparison dep/animia/src/fd/win32.cc @ 151:54744a48a7d7
last commit part 2: struct init with {} is valid syntax, actually
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:31:21 -0500 |
parents | ffa535b6d630 |
children | 8700806c2cc2 |
comparison
equal
deleted
inserted
replaced
150:ffa535b6d630 | 151:54744a48a7d7 |
---|---|
277 | 277 |
278 const std::string path = GetFinalPathNameByHandle(handle.get()); | 278 const std::string path = GetFinalPathNameByHandle(handle.get()); |
279 if (!IsFilePathOk(path)) | 279 if (!IsFilePathOk(path)) |
280 continue; | 280 continue; |
281 | 281 |
282 OpenFile file; | 282 files.push_back({pid, path}); |
283 file.pid = pid; | |
284 file.path = path; | |
285 | |
286 files.push_back(file); | |
287 } | 283 } |
288 | 284 |
289 return true; | 285 return true; |
290 } | 286 } |
291 | 287 |