Skip to content

Commit

Permalink
Merge branch 'main' of github.com:arangodb/velocypack into feature/ad…
Browse files Browse the repository at this point in the history
…vertise-reset-to
  • Loading branch information
jsteemann committed Jun 27, 2023
2 parents 7a399cc + a9fe017 commit a9970a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/velocypack/Sink.h
Expand Up @@ -90,6 +90,10 @@ struct StringSinkImpl final : public Sink {
_buffer->reserve(checkOverflow(len));
}

void setBuffer(T* buffer) noexcept { _buffer = buffer; }

T* getBuffer() const noexcept { return _buffer; }

private:
T* _buffer;
};
Expand Down

0 comments on commit a9970a2

Please sign in to comment.