Ticket #11283: 0001-Add-missing-type_traits-include-to-element_index.hpp.patch

File 0001-Add-missing-type_traits-include-to-element_index.hpp.patch, 805 bytes (added by Roger Leigh <rleigh@…>, 7 years ago)

Add missing include

  • include/boost/variant/detail/element_index.hpp

    From a34b39477817e3b294e8f5efb3446b468df4b274 Mon Sep 17 00:00:00 2001
    From: Roger Leigh <rleigh@codelibre.net>
    Date: Mon, 11 May 2015 19:47:15 +0100
    Subject: [PATCH] Add missing type_traits include to element_index.hpp
    
    ---
     include/boost/variant/detail/element_index.hpp | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/include/boost/variant/detail/element_index.hpp b/include/boost/variant/detail/element_index.hpp
    index bd80bdd..863b760 100644
    a b  
    1313#define BOOST_VARIANT_DETAIL_ELEMENT_INDEX_HPP
    1414
    1515#include "boost/config.hpp"
     16#include "boost/type_traits/remove_cv.hpp"
    1617#include "boost/variant/recursive_wrapper_fwd.hpp"
    1718#include "boost/variant/variant_fwd.hpp"
    1819