Skip to content

Commit

Permalink
Merge pull request #163 from MaxRis/master
Browse files Browse the repository at this point in the history
Removes deprecated static_visitor to avoid msvc C4996 compiler warning
  • Loading branch information
artemp committed Nov 23, 2017
2 parents 237f83c + 215d645 commit 859a8c9
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 859a8c9

Please sign in to comment.