0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 05:08:59 +02:00

ircd::json: Fix tuple template trait deprecated for C++20.

This commit is contained in:
Jason Volk 2022-06-18 13:42:18 -07:00
parent 5faadaa000
commit 288647598c

View file

@ -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)