0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

ircd::json: Deinline member ctor.

This commit is contained in:
Jason Volk 2019-09-13 16:13:59 -07:00
parent 97881ac976
commit 1f82e009b7
2 changed files with 9 additions and 9 deletions

View file

@ -51,15 +51,6 @@ struct ircd::json::member
member() = default;
};
inline
ircd::json::member::member(const string_view &key,
value &&v)
:std::pair<value, value>
{
{ key, json::STRING }, std::move(v)
}
{}
template<class V>
inline __attribute__((always_inline))
ircd::json::member::member(const string_view &key,

View file

@ -3041,6 +3041,15 @@ ircd::json::operator>(const array::const_iterator &a, const array::const_iterato
// json/member.h
//
ircd::json::member::member(const string_view &key,
value &&v)
:std::pair<value, value>
{
{ key, json::STRING }, std::move(v)
}
{
}
ircd::string_view
ircd::json::stringify(mutable_buffer &buf,
const members &list)