From a41de109962ba24101af54baf8214e302022dd38 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 20 May 2017 03:30:15 +0300 Subject: i have no idea how this compiled --- src/utils/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/file.cpp b/src/utils/file.cpp index dba8a38..6157699 100644 --- a/src/utils/file.cpp +++ b/src/utils/file.cpp @@ -59,7 +59,7 @@ namespace pdb if (handle.get() == INVALID_HANDLE_VALUE) throw error::windows(GetLastError()); - ID id; + FILE_ID_INFO id; if (!GetFileInformationByHandleEx( handle.get(), @@ -68,7 +68,7 @@ namespace pdb sizeof(id))) throw error::windows(GetLastError()); - return id; + return {id}; } } } -- cgit v1.2.3