[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]] [[nodiscard]]
constexpr auto data() const noexcept { constexpr const auto &buff() const noexcept {
return &m_buff; return m_buff;
} }
}; };