mirror of
https://github.com/matrix-construct/construct
synced 2025-04-10 20:13:24 +02: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
|
inline typename std::enable_if
|
||||||
<
|
<
|
||||||
std::is_base_of<std::string_view, dst>() &&
|
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
|
void>::type
|
||||||
_assign(dst &d,
|
_assign(dst &d,
|
||||||
src&& s)
|
src&& s)
|
||||||
|
|
Loading…
Add table
Reference in a new issue