aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasorotsky <asorotsky@yandex-team.com>2022-08-16 18:44:55 +0300
committerasorotsky <asorotsky@yandex-team.com>2022-08-16 18:44:55 +0300
commit85ef0ca92b24ef925074e4e4b18b7fbe95e91548 (patch)
treeffae8e36e7a34f45e469e44e2edd2bffaa51b658
parent9b427171469d17ae2bc0f6c9c668832722f7129e (diff)
downloadydb-85ef0ca92b24ef925074e4e4b18b7fbe95e91548.tar.gz
fixup move(const&)
-rw-r--r--library/cpp/actors/util/rope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/actors/util/rope.h b/library/cpp/actors/util/rope.h
index 04c6c58547..036e7a4274 100644
--- a/library/cpp/actors/util/rope.h
+++ b/library/cpp/actors/util/rope.h
@@ -272,7 +272,7 @@ class TRope {
template<typename T>
TChunk(T&& backend, const IRopeChunkBackend::TData& data)
- : Backend(std::move(backend))
+ : Backend(std::forward<T>(backend))
, Begin(std::get<0>(data))
, End(Begin + std::get<1>(data))
{