mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Update mpark::variant implementation to 1.3.0
Fixes building on the latest clang shipping on MacOS (Apple LLVM version 9.1.0 (clang-902.0.39.1))
This commit is contained in:
parent
b10bbea393
commit
791c8401c1
@ -13,7 +13,7 @@
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace std
|
||||
namespace mpark
|
||||
{
|
||||
struct in_place_t
|
||||
{
|
||||
@ -32,6 +32,7 @@ struct in_place_type_t
|
||||
explicit in_place_type_t() = default;
|
||||
};
|
||||
|
||||
#ifdef MPARK_VARIABLE_TEMPLATES
|
||||
constexpr in_place_t in_place{};
|
||||
|
||||
template <std::size_t I>
|
||||
@ -39,5 +40,6 @@ constexpr in_place_index_t<I> in_place_index{};
|
||||
|
||||
template <typename T>
|
||||
constexpr in_place_type_t<T> in_place_type{};
|
||||
#endif
|
||||
|
||||
} // namespace std
|
||||
} // namespace mpark
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user