mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
This commit is contained in:
parent
040df63c98
commit
4e2624459b
153 changed files with 10760 additions and 1695 deletions
|
@ -61,7 +61,7 @@ class CyclicBuffer : public StreamWriterInterface, public StreamReaderInterface
|
|||
}
|
||||
Span<IoSlice> prepare_readv() override {
|
||||
reader_.io_slice_ = as_io_slice(prepare_read());
|
||||
return Span<IoSlice>(&reader_.io_slice_, 1);
|
||||
return span_one(reader_.io_slice_);
|
||||
}
|
||||
void confirm_read(size_t size) override {
|
||||
reader_.pos_.store(reader_.pos_.load(std::memory_order_relaxed) + size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue