diff 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
line wrap: on
line diff
--- a/dep/animia/src/fd/win32.cc	Tue Nov 14 16:27:33 2023 -0500
+++ b/dep/animia/src/fd/win32.cc	Tue Nov 14 16:31:21 2023 -0500
@@ -279,11 +279,7 @@
 		if (!IsFilePathOk(path))
 			continue;
 
-		OpenFile file;
-		file.pid = pid;
-		file.path = path;
-
-		files.push_back(file);
+		files.push_back({pid, path});
 	}
 
 	return true;