Skip to content

Commit 1e57a22

Browse files
committed
use const &
Signed-off-by: Masaya Kataoka <[email protected]>
1 parent 5b93bd0 commit 1e57a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/math/geometry/include/geometry/vector3/operator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ template <
137137
typename T, typename U,
138138
std::enable_if_t<std::conjunction_v<IsLikeVector3<T>, IsLikeVector3<U>>, std::nullptr_t> =
139139
nullptr>
140-
auto operator==(T & a, const U & b) -> bool
140+
auto operator==(const T & a, const U & b) -> bool
141141
{
142142
constexpr decltype(a.x) e = std::numeric_limits<decltype(a.x)>::epsilon();
143143
return (std::abs(a.x - b.x) < e) && (std::abs(a.y - b.y) < e) && (std::abs(a.z - b.z) < e);

0 commit comments

Comments
 (0)