[ox/preloader] Rename BufferWriter::data() to BufferWriter::buff(), make return type const ref

This commit is contained in:
Gary Talent 2022-11-30 20:49:52 -06:00
parent e0381cd98a
commit ae26838324

View File

@ -84,8 +84,8 @@ class BufferWriter {
}
[[nodiscard]]
constexpr auto data() const noexcept {
return &m_buff;
constexpr const auto &buff() const noexcept {
return m_buff;
}
};