diff --git a/moveit_core/robot_state/test/attached_body_test.cpp b/moveit_core/robot_state/test/attached_body_test.cpp index 7560b8d3f2..45534f188e 100644 --- a/moveit_core/robot_state/test/attached_body_test.cpp +++ b/moveit_core/robot_state/test/attached_body_test.cpp @@ -44,7 +44,7 @@ class SingleLinkRobot : public ::testing::Test { public: - virtual void SetUp() override + SingleLinkRobot() { static const std::string URDF_XML = R"( @@ -90,9 +90,8 @@ class SingleLinkRobot : public ::testing::Test class SingleAttachedBody : public SingleLinkRobot { public: - virtual void SetUp() override + SingleAttachedBody() { - SingleLinkRobot::SetUp(); // Is this necessary? const moveit::core::LinkModel* link = robot_model_->getLinkModel("link"); std::string name = "root_body"; Eigen::Isometry3d pose;