mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
int 64 cast json
This commit is contained in:
parent
1f8df1e94c
commit
17cb1a0c23
1 changed files with 2 additions and 2 deletions
|
|
@ -19,9 +19,9 @@ INLINE Json::Value JsonReturn(T &&val)
|
|||
{
|
||||
res["value"] = (Json::Int64)val;
|
||||
}
|
||||
else
|
||||
else if constexpr (std::is_same_v<T, int64_t>)
|
||||
{
|
||||
res["value"] = val;
|
||||
res["value"] = (Json::Int64)val;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue