diff --git a/test/sequence/deque_misc.cpp b/test/sequence/deque_misc.cpp index c9b880ea..402afacc 100644 --- a/test/sequence/deque_misc.cpp +++ b/test/sequence/deque_misc.cpp @@ -3,13 +3,15 @@ Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2006 Dan Marsden - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #include #include #include +#define BOOST_FUSION_SEQUENCE_CONVERSION_IS_NOT_SEQUENCE__TYPE_PRESERVING + #define FUSION_SEQUENCE deque #include "misc.hpp" diff --git a/test/sequence/misc.hpp b/test/sequence/misc.hpp index 610b107a..ecbe1549 100644 --- a/test/sequence/misc.hpp +++ b/test/sequence/misc.hpp @@ -95,6 +95,7 @@ struct test_intrinsics2 { typedef boost::fusion::FUSION_SEQUENCE<> seq0; +#if !defined(BOOST_FUSION_SEQUENCE_CONVERSION_IS_NOT_SEQUENCE__TYPE_PRESERVING) #if !defined(FUSION_FORWARD_ONLY) // list has no back/prev typedef boost::fusion::FUSION_SEQUENCE target1; @@ -114,6 +115,8 @@ struct test_intrinsics2 typedef boost::fusion::FUSION_SEQUENCE target4; typedef boost::mpl::push_front::type seq4; BOOST_STATIC_ASSERT((boost::mpl::equal::value)); + +#endif }; void