We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6002ab commit cfd9033Copy full SHA for cfd9033
libs/openFrameworks/utils/ofFileUtils.h
@@ -452,7 +452,7 @@ class ofFilePath {
452
/// \returns the App name as native string
453
static const auto getAppName(bool strip_debug = true) {
454
auto name = ofFilePath::getCurrentExePathFS().filename().native();
455
- typename std::filesystem::path::string_type debug_suffix = std::filesystem::path::string_type("Debug");
+ auto debug_suffix = std::filesystem::path("Debug").native();
456
auto dbsize = debug_suffix.size();
457
if (strip_debug) {
458
if (name.size() > dbsize && name.compare(name.size() -dbsize , dbsize, debug_suffix) == 0) {
0 commit comments