🚧 removed decay (#448)
This commit is contained in:
parent
7a4a16a7db
commit
716485a965
2 changed files with 2 additions and 4 deletions
|
@ -524,8 +524,7 @@ struct has_to_json
|
|||
/////////////
|
||||
|
||||
template<typename BasicJsonType, typename T, enable_if_t<
|
||||
std::is_same<typename std::decay<T>::type,
|
||||
typename BasicJsonType::boolean_t>::value, int> = 0>
|
||||
std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
|
||||
void to_json(BasicJsonType& j, T b) noexcept
|
||||
{
|
||||
external_constructor<value_t::boolean>::construct(j, b);
|
||||
|
|
|
@ -524,8 +524,7 @@ struct has_to_json
|
|||
/////////////
|
||||
|
||||
template<typename BasicJsonType, typename T, enable_if_t<
|
||||
std::is_same<typename std::decay<T>::type,
|
||||
typename BasicJsonType::boolean_t>::value, int> = 0>
|
||||
std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
|
||||
void to_json(BasicJsonType& j, T b) noexcept
|
||||
{
|
||||
external_constructor<value_t::boolean>::construct(j, b);
|
||||
|
|
Loading…
Reference in a new issue