Skip to content

Commit

Permalink
Remove noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
gmajrobotec committed Jan 19, 2025
1 parent ed55433 commit b97a0fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CanonicalizedEntityStatus

auto laneMatchingSucceed() const noexcept -> bool;
auto getLaneletId() const -> lanelet::Id;
auto getLaneletIds() const noexcept -> lanelet::Ids;
auto getLaneletIds() const -> lanelet::Ids;
auto getLaneletPose() const -> const LaneletPose &;
auto getCanonicalizedLaneletPose() const noexcept
-> const std::optional<CanonicalizedLaneletPose> &;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ auto CanonicalizedEntityStatus::getLaneletId() const -> lanelet::Id
return getLaneletPose().lanelet_id;
}

auto CanonicalizedEntityStatus::getLaneletIds() const noexcept -> lanelet::Ids
auto CanonicalizedEntityStatus::getLaneletIds() const -> lanelet::Ids
{
return laneMatchingSucceed() ? lanelet::Ids{getLaneletId()} : lanelet::Ids{};
}
Expand Down

0 comments on commit b97a0fd

Please sign in to comment.