mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Revert "buf_ref.into() can be const now"
This reverts commit 840e011b75
.
This commit is contained in:
parent
92bc92d232
commit
06434f0042
@ -88,7 +88,7 @@ struct buf_ref {
|
||||
uint32_t offset : 20;
|
||||
uint32_t length : 12;
|
||||
|
||||
std::string_view into(const char* buf) const {
|
||||
std::string_view into(const char* buf) {
|
||||
return std::string_view(&buf[offset], length);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user