0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-03 02:28:55 +02:00

ircd::json: Fix assign source here.

This commit is contained in:
Jason Volk 2017-11-06 12:12:58 -08:00
parent 99e431c8da
commit 87c9ebdbc3

View file

@ -677,7 +677,8 @@ template<class dst,
typename std::enable_if
<
!std::is_base_of<json::string, dst>() &&
std::is_convertible<src, dst>(),
std::is_convertible<src, dst>() &&
!ircd::json::is_tuple<dst>(),
void>::type
_assign(dst &d,
src&& s)