summaryrefslogtreecommitdiff
path: root/src/linux/res.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/res.h')
-rw-r--r--src/linux/res.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/linux/res.h b/src/linux/res.h
index 9e3b8c5..34ded54 100644
--- a/src/linux/res.h
+++ b/src/linux/res.h
@@ -42,6 +42,10 @@ struct Res {
} typedef Res;
+inline const char* to_str(std::filesystem::path file) {
+ return file.c_str();
+}
+
inline Res get_resources() {
using namespace std::filesystem;