[ox/mc] Make read take const buffers

This commit is contained in:
2021-04-17 16:37:58 -05:00
parent 772cc7d954
commit 394d13df9b
5 changed files with 9 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ class FieldPresenceIndicator {
std::size_t m_fields = 0;
public:
FieldPresenceIndicator(uint8_t *mask, std::size_t maxLen);
FieldPresenceIndicator(const uint8_t *mask, std::size_t maxLen);
Result<bool> get(std::size_t i) const;