From bd857d24443b8c8f5d2f58047c3f8ac5f058acea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 17 Aug 2022 02:33:26 +0200 Subject: Make FileView more type-safe. --- c/win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/win.cpp') diff --git a/c/win.cpp b/c/win.cpp index 95ec9a7..28dba27 100644 --- a/c/win.cpp +++ b/c/win.cpp @@ -145,7 +145,7 @@ Library::Library(const wchar_t* const lib) { m_hModule = LoadLibrary(lib); if (!m_hModule) - throw Win32Error(); + throw Win32Error{}; } Library::~Library() -- cgit v1.2.3