Skip to content

Commit c417e2e

Browse files
committed
filesystem
1 parent 9b72ad6 commit c417e2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

SerialPrograms/Source/CommonFramework/Globals.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ namespace {
244244
}
245245

246246
void set_program_path(const char* argv0){
247+
std::string str = "";
248+
std::filesystem::path p(str);
249+
247250
if (argv0 != nullptr){
248251
std::filesystem::path program_path(argv0);
249252
g_program_absolute_path = std::filesystem::absolute(program_path).string();

0 commit comments

Comments
 (0)