diff options
author | innokentii <innokentii@yandex-team.com> | 2022-09-29 17:04:39 +0300 |
---|---|---|
committer | innokentii <innokentii@yandex-team.com> | 2022-09-29 17:04:39 +0300 |
commit | b9c33d2970daa903dfdd7cfd222c293593e83536 (patch) | |
tree | 8adc97a90bb850ba7e5c0b6dc48959709ed89dd0 /library/cpp/actors/util/shared_data_rope_backend.h | |
parent | d562e7c54fcae2c816d67834310ecfec90e8a69d (diff) | |
download | ydb-b9c33d2970daa903dfdd7cfd222c293593e83536.tar.gz |
Extend TContiguousData interface
extend TContiguousData interface
Diffstat (limited to 'library/cpp/actors/util/shared_data_rope_backend.h')
-rw-r--r-- | library/cpp/actors/util/shared_data_rope_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/actors/util/shared_data_rope_backend.h b/library/cpp/actors/util/shared_data_rope_backend.h index 312dab9112..f6f2b2a49a 100644 --- a/library/cpp/actors/util/shared_data_rope_backend.h +++ b/library/cpp/actors/util/shared_data_rope_backend.h @@ -29,7 +29,7 @@ public: return {const_cast<char *>(Buffer.data()), Buffer.size()}; } - size_t GetCapacity() const override { + size_t GetOccupiedMemorySize() const override { return Buffer.size(); } }; |