Skip to content

Commit

Permalink
path to string conversion fir windows
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 30, 2024
1 parent e1679bf commit abb4e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solver/modeler/loadFiles/readLibraries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ static Study::SystemModel::Library loadSingleLibrary(const fs::path& filePath)
}
catch (const YAML::Exception& e)
{
handleYamlError(e, filePath);
handleYamlError(e, filePath.string());
throw ErrorLoadingYaml(e.what());
}
catch (const std::runtime_error& e)
{
handleRuntimeError(e, filePath);
handleRuntimeError(e, filePath.string());
throw ErrorLoadingYaml(e.what());
}
}
Expand Down

0 comments on commit abb4e33

Please sign in to comment.