From 41fdb84ca890981bba08174da6fcf13e79a64fe4 Mon Sep 17 00:00:00 2001 From: Mateus Sanches <msanches@iri.upc.edu> Date: Fri, 10 Jan 2025 07:47:26 +0100 Subject: [PATCH] MapBase print() and check() functions are now virtual --- include/core/map/map_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/core/map/map_base.h b/include/core/map/map_base.h index 8b925bdb4..650621ecc 100644 --- a/include/core/map/map_base.h +++ b/include/core/map/map_base.h @@ -125,7 +125,7 @@ class MapBase : public NodeBase, public std::enable_shared_from_this<MapBase> bool state_blocks, std::ostream& stream, std::string _tabs = "") const; - void print(int depth, // + virtual void print(int depth, // bool factored_by, // bool metric, // bool state_blocks, @@ -133,7 +133,7 @@ class MapBase : public NodeBase, public std::enable_shared_from_this<MapBase> std::string _tabs = "") const; virtual CheckLog localCheck(bool _verbose, std::ostream& _stream, std::string _tabs = "") const; - bool check(CheckLog& _log, bool _verbose, std::ostream& _stream, std::string _tabs = "") const; + virtual bool check(CheckLog& _log, bool _verbose, std::ostream& _stream, std::string _tabs = "") const; }; inline LandmarkBaseConstPtrList MapBase::getLandmarkList() const -- GitLab