Skip to content
Snippets Groups Projects

Resolve "Make print() and check() functions from MapBase virtual"

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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 constr_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, MapBaseConstPtr _map_ptr, std::ostream& _stream, std::string _tabs = "") const;
bool check(CheckLog& _log, NodeBaseConstPtr _node_ptr, bool _verbose, std::ostream& _stream, std::string _tabs = "") const;
virtual bool check(CheckLog& _log, NodeBaseConstPtr _node_ptr, bool _verbose, std::ostream& _stream, std::string _tabs = "") const;
private:
std::string dateTimeNow() const;
Loading