mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::json: Fix tuple template trait deprecated for C++20.
This commit is contained in:
parent
5faadaa000
commit
288647598c
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ template<class dst,
|
|||
inline typename std::enable_if
|
||||
<
|
||||
std::is_base_of<std::string_view, dst>() &&
|
||||
std::is_pod<typename std::remove_reference<src>::type>(),
|
||||
std::is_trivial<typename std::remove_reference<src>::type>() &&
|
||||
std::is_standard_layout<typename std::remove_reference<src>::type>(),
|
||||
void>::type
|
||||
_assign(dst &d,
|
||||
src&& s)
|
||||
|
|
Loading…
Reference in a new issue