mirror of
https://github.com/monero-project/monero.git
synced 2025-08-10 19:40:12 -04:00
tools::variant: remove
This commit is contained in:
parent
3b01c49095
commit
6fd3a2e06b
4 changed files with 0 additions and 792 deletions
|
@ -43,7 +43,6 @@
|
|||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/mpl/front.hpp>
|
||||
#include <boost/mpl/pop_front.hpp>
|
||||
#include "common/variant.h"
|
||||
#include "serialization.h"
|
||||
|
||||
/*! \struct variant_serialization_triats
|
||||
|
@ -145,13 +144,3 @@ static bool do_serialize(Archive<true> &ar, boost::variant<T...> &v)
|
|||
{
|
||||
return boost::apply_visitor(variant_write_visitor<Archive>(ar), v);
|
||||
}
|
||||
|
||||
// implementation for tools::variant delegates to internal boost::variant member field
|
||||
namespace tools
|
||||
{
|
||||
template <class Archive, typename... Ts>
|
||||
bool do_serialize(Archive &ar, variant<Ts...> &v)
|
||||
{
|
||||
return do_serialize(ar, v.m_value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue