summaryrefslogtreecommitdiff
path: root/src/windows/res.h
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-06-24 12:49:00 -0400
committerSteph Enders <smenders@gmail.com>2022-06-24 17:37:11 -0400
commit20076f7271e19ecc259014681ba733047bea4d9b (patch)
treee07dc114f224b0f689cdb618e7865420e9a03b2f /src/windows/res.h
parent2f2ed4c294fbce00b959032f2dcd80dd7981dd9b (diff)
Remove unnecessary typedef
Idk why I thought that was necessary to avoid: "struct Name" in every place? maybe its a C thing? IDR
Diffstat (limited to 'src/windows/res.h')
-rw-r--r--src/windows/res.h3
1 files changed, 1 insertions, 2 deletions
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?