Skip to content

Commit

Permalink
Update iCubModels.cpp.in
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Nov 15, 2022
1 parent 6e3f957 commit 227369f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/iCubModels.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace iCubModels
{
std::string getModelsPath()
{
std::filesystem::path ret = std::filesystem::path(iCubModels::getInstallPrefix()) / std::filesystem::path("@ICUB_MODELS_MODELS_RELATIVE_PATH@");
std::filesystem::path ret = std::filesystem::path(iCubModels::getInstallPrefix().value()) / std::filesystem::path("@ICUB_MODELS_MODELS_RELATIVE_PATH@");
return ret.string();
}

Expand Down

0 comments on commit 227369f

Please sign in to comment.