From bce24fb084ef9a64552493c9758cd5a7c7d58248 Mon Sep 17 00:00:00 2001 From: Ethan Chan Date: Sat, 2 Nov 2024 19:49:47 -0700 Subject: [PATCH] Attempted fixes at string types --- api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.cpp b/api.cpp index af843983..77ba23df 100644 --- a/api.cpp +++ b/api.cpp @@ -93,7 +93,7 @@ void monitor_executables(const char* folder_path) { if (entry.is_regular_file() && entry.path().extension() == ".exe") { - close_application_by_exe(entry.path().filename().c_str()); + close_application_by_exe(entry.path().filename().string().c_str()); } }