Skip to content

Commit

Permalink
Removes deprecated static_visitor to avoid msvc C4996 compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhora committed Nov 22, 2017
1 parent 237f83c commit 215d645
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/mapbox/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ class bad_variant_access : public std::runtime_error

}; // class bad_variant_access

template <typename R = void>
struct MAPBOX_VARIANT_DEPRECATED static_visitor
{
using result_type = R;

protected:
static_visitor() {}
~static_visitor() {}
};

#if !defined(MAPBOX_VARIANT_MINIMIZE_SIZE)
using type_index_t = unsigned int;
#else
Expand Down

0 comments on commit 215d645

Please sign in to comment.