diff --git a/ircd/json.cc b/ircd/json.cc index 271acf6ab..4a6e4586b 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -3593,9 +3593,9 @@ ircd::json::value::value(const std::string &s, { const string_view sv{s}; create_string(serialized(sv), [&sv] - (mutable_buffer buf) + (mutable_buffer &buffer) { - json::stringify(buf, sv); + json::stringify(buffer, sv); }); }