diff options
author | innokentii <innokentii@yandex-team.com> | 2022-11-03 14:23:40 +0300 |
---|---|---|
committer | innokentii <innokentii@yandex-team.com> | 2022-11-03 14:23:40 +0300 |
commit | 65ab9f6a97c184f41f7a5de0b031336dd32c6d4f (patch) | |
tree | f980b22c6c7f742361b4732d7f128606f197ce7b | |
parent | 15c9109917ca3b771344810466dca2763f75a961 (diff) | |
download | ydb-65ab9f6a97c184f41f7a5de0b031336dd32c6d4f.tar.gz |
Add msvc workaround for TContiguousData
workaround for msvc compiler
-rw-r--r-- | library/cpp/actors/util/contiguous_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/actors/util/contiguous_data.h b/library/cpp/actors/util/contiguous_data.h index 2edce8cb92..e161a511c2 100644 --- a/library/cpp/actors/util/contiguous_data.h +++ b/library/cpp/actors/util/contiguous_data.h @@ -1098,8 +1098,8 @@ public: } size_t UnsafeTailroom() const { - auto [data, size] = Backend.GetData(); - return (data + size) - End; + auto span = Backend.GetData(); + return (span.GetData() + span.GetSize()) - End; } size_t Headroom() const { |