Remove false (outdated) dependency to Boost IO Stream / Serialization in code

This commit is contained in:
Simon Giraudot 2021-01-14 15:18:24 +01:00
parent 247c965a71
commit fba2e1fc45
1 changed files with 0 additions and 8 deletions

View File

@ -290,14 +290,10 @@ public:
The output file is written in a binary format that is readable by
the `load_configuration()` method.
*/
#if defined(DOXYGEN_RUNNING) || \
(defined(CGAL_LINKED_WITH_BOOST_IOSTREAMS) && \
defined(CGAL_LINKED_WITH_BOOST_SERIALIZATION))
void save_configuration (std::ostream& output) const
{
m_rfc->write(output);
}
#endif
/*!
\brief loads a configuration from the stream `input`.
@ -314,9 +310,6 @@ public:
format for ETHZ Random Forest changed in CGAL 5.2.
*/
#if defined(DOXYGEN_RUNNING) || \
(defined(CGAL_LINKED_WITH_BOOST_IOSTREAMS) && \
defined(CGAL_LINKED_WITH_BOOST_SERIALIZATION))
void load_configuration (std::istream& input)
{
CGAL::internal::liblearning::RandomForest::ForestParams params;
@ -324,7 +317,6 @@ public:
m_rfc->read(input);
}
#endif
/// @}