mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
ircd::json::stack: Make completed() return a string_view instead of const_buffer.
This commit is contained in:
parent
e50371f3b5
commit
de986d2272
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ struct ircd::json::stack
|
|||
bool clean() const; ///< Never opened.
|
||||
bool done() const; ///< Opened and closed.
|
||||
size_t remaining() const;
|
||||
const_buffer completed() const;
|
||||
string_view completed() const;
|
||||
|
||||
size_t invalidate_checkpoints();
|
||||
bool flush(const bool &force = false) noexcept;
|
||||
|
|
|
@ -826,7 +826,7 @@ ircd::json::stack::rewind(const size_t &bytes)
|
|||
return amount;
|
||||
}
|
||||
|
||||
ircd::const_buffer
|
||||
ircd::string_view
|
||||
ircd::json::stack::completed()
|
||||
const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue