Conditional include msgpack::variant.

It uses boost::variant. boost::variant requires boost::tyoe_index.
boost::type index has dropped C++03 support.
This commit is contained in:
Takatoshi Kondo
2024-08-06 11:21:55 +09:00
parent 22f6fa1cd2
commit 636a0130ba
2 changed files with 5 additions and 1 deletions

View File

@@ -73,7 +73,11 @@
#if !defined(MSGPACK_NO_BOOST)
#include "adaptor/boost/fusion.hpp"
#if !defined(MSGPACK_USE_CPP03)
#include "adaptor/boost/msgpack_variant.hpp"
#endif // !defined(MSGPACK_USE_CPP03)
#include "adaptor/boost/optional.hpp"
#include "adaptor/boost/string_ref.hpp"
#include "adaptor/boost/string_view.hpp"