aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-09-23 10:32:31 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-09-23 10:44:39 +0300
commit41602592e595da1a255b6bb8326b1b7550dd99fe (patch)
tree3bbdabfd2fa4d7cd9fb594613cc77a885e971e29
parenta0c6ba82cdd23d5270d09bd64394c2ec2f48bf08 (diff)
downloadydb-41602592e595da1a255b6bb8326b1b7550dd99fe.tar.gz
Disable cast to string& from TSring&&
commit_hash:9d13cf8c2f490f6590afada455248339a63b6bf8
-rw-r--r--util/generic/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/string.h b/util/generic/string.h
index b71bb72304..bbe340781a 100644
--- a/util/generic/string.h
+++ b/util/generic/string.h
@@ -861,7 +861,7 @@ public:
return this->ConstRef();
}
- operator TStringType&() {
+ operator TStringType&() & {
return this->MutRef();
}