From ffb50343909ec9dea294e7a7449d0c62d9fa9d2f Mon Sep 17 00:00:00 2001 From: Alexander Belyaev <32522095+pifon2a@users.noreply.github.com> Date: Tue, 3 Jul 2018 12:46:30 +0200 Subject: [PATCH] Mark TSDF::ToProto with override. (#1227) --- cartographer/mapping/2d/tsdf_2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,