0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::json: Move max_string_size constant to header.

This commit is contained in:
Jason Volk 2020-02-09 14:44:05 -08:00
parent b899a1dc24
commit ab6672877d
2 changed files with 2 additions and 5 deletions

View file

@ -69,7 +69,7 @@ namespace ircd::json
///
struct ircd::json::value
{
static const size_t max_string_size;
static constexpr const size_t max_string_size {64_KiB};
union
{

View file

@ -3326,10 +3326,7 @@ ircd::json::escape(const mutable_buffer &buf,
//
decltype(ircd::json::value::max_string_size)
ircd::json::value::max_string_size
{
64_KiB
};
ircd::json::value::max_string_size;
std::ostream &
ircd::json::operator<<(std::ostream &s, const value &v)