From 20076f7271e19ecc259014681ba733047bea4d9b Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Fri, 24 Jun 2022 12:49:00 -0400 Subject: Remove unnecessary typedef Idk why I thought that was necessary to avoid: "struct Name" in every place? maybe its a C thing? IDR --- src/windows/res.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/windows') diff --git a/src/windows/res.h b/src/windows/res.h index 06b3209..9f8def3 100644 --- a/src/windows/res.h +++ b/src/windows/res.h @@ -40,8 +40,7 @@ struct Res { std::filesystem::path defaultsFile; std::filesystem::path fontFile; - -} typedef Res; +}; inline const char *to_str(const std::filesystem::path &file) { std::setlocale(LC_ALL, "en_US.utf8"); // TODO more support? -- cgit v1.2.3-54-g00ecf