Implemented std::move in collision detector