diff --git a/lib/libimhex/source/api/project_file_manager.cpp b/lib/libimhex/source/api/project_file_manager.cpp index cb02c29ac..289d63842 100644 --- a/lib/libimhex/source/api/project_file_manager.cpp +++ b/lib/libimhex/source/api/project_file_manager.cpp @@ -44,7 +44,7 @@ namespace hex { } std::fs::path ProjectFile::getPath() { - return { s_currProjectPath }; + return *s_currProjectPath; } void ProjectFile::setPath(const std::fs::path &path) {