Skip to content

Commit

Permalink
fix(tier4_dummy_object_rviz_plugin): fix functionConst (autowarefound…
Browse files Browse the repository at this point in the history
…ation#8830)

fix:functionConst

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Sep 10, 2024
1 parent 382d056 commit 0401a36
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 @@ -221,7 +221,7 @@ boost::optional<tf2::Transform> InteractiveObjectCollection::transform(
return {};
}

size_t InteractiveObjectCollection::nearest(const Ogre::Vector3 & point)
size_t InteractiveObjectCollection::nearest(const Ogre::Vector3 & point) const
{
const size_t npos = objects_.size();
if (objects_.empty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class InteractiveObjectCollection
const std::array<uint8_t, 16> & uuid) const;

private:
size_t nearest(const Ogre::Vector3 & point);
size_t nearest(const Ogre::Vector3 & point) const;
InteractiveObject * target_;
std::vector<std::unique_ptr<InteractiveObject>> objects_;
};
Expand Down

0 comments on commit 0401a36

Please sign in to comment.