diff --git a/cartographer/mapping/2d/tsdf_2d.h b/cartographer/mapping/2d/tsdf_2d.h index 35c88c1..17a6fd2 100644 --- a/cartographer/mapping/2d/tsdf_2d.h +++ b/cartographer/mapping/2d/tsdf_2d.h @@ -41,7 +41,7 @@ class TSDF2D : public Grid2D { const Eigen::Array2i& cell_index) const; virtual void GrowLimits(const Eigen::Vector2f& point) override; - proto::Grid2D ToProto() const; + proto::Grid2D ToProto() const override; virtual std::unique_ptr ComputeCroppedGrid() const override; virtual bool DrawToSubmapTexture( proto::SubmapQuery::Response::SubmapTexture* const texture,