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:
parent
08b961351d
commit
52e2525b30
1 changed files with 2 additions and 3 deletions
|
@ -69,9 +69,8 @@ struct ircd::json::iov
|
|||
struct ircd::json::iov::push
|
||||
:protected ircd::json::iov::node
|
||||
{
|
||||
template<class... args>
|
||||
push(iov &iov, args&&... a)
|
||||
:node{iov, std::forward<args>(a)...}
|
||||
push(iov &iov, json::member m)
|
||||
:node{iov, std::move(m)}
|
||||
{}
|
||||
|
||||
push() = default;
|
||||
|
|
Loading…
Reference in a new issue