mirror of https://github.com/CGAL/cgal
Remove false (outdated) dependency to Boost IO Stream / Serialization in code
This commit is contained in:
parent
247c965a71
commit
fba2e1fc45
|
|
@ -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
|
||||
|
||||
/// @}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue