Fixed check for compatible string type
This commit is contained in:
parent
4778c02ab5
commit
7acd90b651
3 changed files with 6 additions and 8 deletions
|
|
@ -75,9 +75,7 @@ template <
|
|||
enable_if_t <
|
||||
is_compatible_string_type<BasicJsonType, CompatibleStringType>::value and
|
||||
not std::is_same<typename BasicJsonType::string_t,
|
||||
CompatibleStringType>::value and
|
||||
std::is_constructible <
|
||||
BasicJsonType, typename CompatibleStringType::value_type >::value,
|
||||
CompatibleStringType>::value,
|
||||
int > = 0 >
|
||||
void from_json(const BasicJsonType& j, CompatibleStringType& s)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue