mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
Aligned template declaration
This commit is contained in:
committed by
GitHub
parent
e0e7fa39e7
commit
5676a2a076
@ -53,8 +53,8 @@ struct external_constructor<value_t::string>
|
||||
}
|
||||
|
||||
template<typename BasicJsonType, typename CompatibleStringType,
|
||||
enable_if_t<not std::is_same<CompatibleStringType, typename BasicJsonType::string_t>::value,
|
||||
int> = 0>
|
||||
enable_if_t<not std::is_same<CompatibleStringType, typename BasicJsonType::string_t>::value,
|
||||
int> = 0>
|
||||
static void construct(BasicJsonType& j, const CompatibleStringType& str)
|
||||
{
|
||||
j.m_type = value_t::string;
|
||||
|
Reference in New Issue
Block a user