From ecb1da7a598a60dfe4797b91cbd1ee6fc6a3faeb Mon Sep 17 00:00:00 2001 From: Omar Shrit Date: Tue, 14 Jul 2020 22:59:31 +0200 Subject: [PATCH] Remove boost serialization namespace. Remove functions defined in boost serialization namespace. It is no longer required since it has been replaced by cereal Signed-off-by: Omar Shrit --- src/mlpack/methods/ann/ffn.hpp | 17 ----------------- src/mlpack/methods/ann/ffn_impl.hpp | 2 -- 2 files changed, 19 deletions(-) diff --git a/src/mlpack/methods/ann/ffn.hpp b/src/mlpack/methods/ann/ffn.hpp index 2c1f6828ea..0d640af751 100644 --- a/src/mlpack/methods/ann/ffn.hpp +++ b/src/mlpack/methods/ann/ffn.hpp @@ -522,23 +522,6 @@ class FFN } // namespace ann } // namespace mlpack -//! Set the serialization version of the FFN class. Multiple template arguments -//! makes this ugly... -namespace boost { -namespace serialization { - -template -struct version< - mlpack::ann::FFN> -{ - BOOST_STATIC_CONSTANT(int, value = 2); -}; - -} // namespace serialization -} // namespace boost - // Include implementation. #include "ffn_impl.hpp" diff --git a/src/mlpack/methods/ann/ffn_impl.hpp b/src/mlpack/methods/ann/ffn_impl.hpp index 17bc65bd9b..71dedf173c 100644 --- a/src/mlpack/methods/ann/ffn_impl.hpp +++ b/src/mlpack/methods/ann/ffn_impl.hpp @@ -23,8 +23,6 @@ #include "visitor/set_input_height_visitor.hpp" #include "visitor/set_input_width_visitor.hpp" -#include - namespace mlpack { namespace ann /** Artificial Neural Network. */ {