0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::json: Fix member construction related.

This commit is contained in:
Jason Volk 2017-10-15 21:21:16 -07:00
parent 08b961351d
commit 52e2525b30

View file

@ -69,9 +69,8 @@ struct ircd::json::iov
struct ircd::json::iov::push struct ircd::json::iov::push
:protected ircd::json::iov::node :protected ircd::json::iov::node
{ {
template<class... args> push(iov &iov, json::member m)
push(iov &iov, args&&... a) :node{iov, std::move(m)}
:node{iov, std::forward<args>(a)...}
{} {}
push() = default; push() = default;