add missing IO namespace

This commit is contained in:
Sébastien Loriot 2023-08-16 09:11:30 +02:00
parent d8a6478b57
commit f1f6126f1c
2 changed files with 6 additions and 6 deletions

View File

@ -700,13 +700,13 @@ public:
default: default:
// ASCII // ASCII
os << "Point_2("; os << "Point_2(";
os << oformat(this->ptr()->_m_xy); os << ::CGAL::IO::oformat(this->ptr()->_m_xy);
os << ","; os << ",";
os << oformat(this->ptr()->_m_x); os << ::CGAL::IO::oformat(this->ptr()->_m_x);
os << ","; os << ",";
os << oformat(this->ptr()->_m_curve); os << ::CGAL::IO::oformat(this->ptr()->_m_curve);
os << ","; os << ",";
os << oformat(this->ptr()->_m_arcno); os << ::CGAL::IO::oformat(this->ptr()->_m_arcno);
os << ","; os << ",";
os << this->ptr()->_m_location; os << this->ptr()->_m_location;

View File

@ -136,8 +136,8 @@ protected:
typename Traits::Equal_2 equal = this->m_geom_traits.equal_2_object(); typename Traits::Equal_2 equal = this->m_geom_traits.equal_2_object();
if (equal(exp_answer, real_answer)) return true; if (equal(exp_answer, real_answer)) return true;
std::string exp_answer_str = boost::lexical_cast<std::string>( oformat(exp_answer) ); std::string exp_answer_str = boost::lexical_cast<std::string>( CGAL::IO::oformat(exp_answer) );
std::string real_answer_str = boost::lexical_cast<std::string>( oformat(real_answer) ); std::string real_answer_str = boost::lexical_cast<std::string>( CGAL::IO::oformat(real_answer) );
this->print_answer(exp_answer_str, real_answer_str, "x-monotone curve"); this->print_answer(exp_answer_str, real_answer_str, "x-monotone curve");
return false; return false;
} }