From c891c8e2051613e74a90ff67cea9f4c63ac8e98e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 1 Jun 2017 17:27:17 +0300 Subject: [PATCH] Do not include boost/mp11.hpp if already included, to allow use on Compiler Explorer --- include/boost/variant2/variant.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/variant2/variant.hpp b/include/boost/variant2/variant.hpp index 4ce586e..f262f0e 100644 --- a/include/boost/variant2/variant.hpp +++ b/include/boost/variant2/variant.hpp @@ -8,7 +8,9 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#ifndef BOOST_MP11_HPP_INCLUDED #include +#endif #include #include #include