提交 18689431 编写于 作者: A Anton Perkov

use uint32_t instead of int in static_variant

上级 7edcd974
......@@ -195,7 +195,7 @@ class static_variant {
static_assert(impl::type_info<Types...>::no_reference_types, "Reference types are not permitted in static_variant.");
static_assert(impl::type_info<Types...>::no_duplicates, "static_variant type arguments contain duplicate types.");
int _tag;
uint32_t _tag;
char storage[impl::type_info<Types...>::size];
template<typename X>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册