Skip to content

Commit 1ab362b

Browse files
style(pre-commit): autofix
1 parent 5bd914e commit 1ab362b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

autoware_utils_geometry/include/autoware_utils_geometry/boost_geometry.hpp

+8-4
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,14 @@ struct Point2d : public Eigen::Vector2d
5555
Point2d() = default;
5656
Point2d(const double x, const double y) : Eigen::Vector2d(x, y) {}
5757

58-
Point2d(Point2d && other) : Eigen::Vector2d() {
58+
Point2d(Point2d && other) : Eigen::Vector2d()
59+
{
5960
this->x() = other.x();
6061
this->y() = other.y();
6162
}
6263

63-
Point2d & operator=(Point2d && other) {
64+
Point2d & operator=(Point2d && other)
65+
{
6466
if (this != &other) {
6567
this->x() = other.x();
6668
this->y() = other.y();
@@ -76,13 +78,15 @@ struct Point3d : public Eigen::Vector3d
7678
Point3d() = default;
7779
Point3d(const double x, const double y, const double z) : Eigen::Vector3d(x, y, z) {}
7880

79-
Point3d(Point3d && other) : Eigen::Vector3d() {
81+
Point3d(Point3d && other) : Eigen::Vector3d()
82+
{
8083
this->x() = other.x();
8184
this->y() = other.y();
8285
this->z() = other.z();
8386
}
8487

85-
Point3d & operator=(Point3d && other) {
88+
Point3d & operator=(Point3d && other)
89+
{
8690
if (this != &other) {
8791
this->x() = other.x();
8892
this->y() = other.y();

0 commit comments

Comments
 (0)