Skip to content

Commit

Permalink
tmp: try something
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Nov 9, 2023
1 parent a15a861 commit b27f69b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/binding/python/Attributable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ std::optional<TargetType> tryCast(py::object const &obj)
{
return std::nullopt;
}
catch (...)
{
return std::nullopt;
}
}

template <>
Expand Down

0 comments on commit b27f69b

Please sign in to comment.