[ox/preloader] Rename BufferWriter::data() to BufferWriter::buff(), make return type const ref
This commit is contained in:
parent
e0381cd98a
commit
ae26838324
4
deps/ox/src/ox/std/buffer.hpp
vendored
4
deps/ox/src/ox/std/buffer.hpp
vendored
@ -84,8 +84,8 @@ class BufferWriter {
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr auto data() const noexcept {
|
||||
return &m_buff;
|
||||
constexpr const auto &buff() const noexcept {
|
||||
return m_buff;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user