those debug function must be const

This commit is contained in:
Laurent Rineau 2023-09-25 18:58:35 +02:00
parent 6340d3508c
commit 091878f592
1 changed files with 2 additions and 2 deletions

View File

@ -102,13 +102,13 @@ public:
protected:
using Subconstraint = typename Constraint_hierarchy::Subconstraint;
auto display_vert(Vertex_handle v) {
auto display_vert(Vertex_handle v) const{
std::stringstream os;
os.precision(17);
os << IO::oformat(v) << "=(" << this->tr.point(v) << ")";
return os.str();
};
auto display_subcstr(Subconstraint subconstraint) {
auto display_subcstr(Subconstraint subconstraint) const {
std::stringstream os;
os << "[ " << display_vert(subconstraint.first)
<< " - " << display_vert(subconstraint.second) << " ]";