summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string
diff options
context:
space:
mode:
authorpavook <[email protected]>2026-04-17 15:40:13 +0300
committerpavook <[email protected]>2026-04-17 16:37:33 +0300
commit70edb604e93a313f36e434fd25b312527d59f361 (patch)
treefaacc8c3ac1d65c296a474dff47c56cee6728b58 /library/cpp/yt/string
parenta2fc20748143708512d826a79b6e96b0964b0032 (diff)
Fix some use-after-move bugs
commit_hash:4bc357937e76b2b082671bb0f67ac3012ee4dbca
Diffstat (limited to 'library/cpp/yt/string')
-rw-r--r--library/cpp/yt/string/format-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/string/format-inl.h b/library/cpp/yt/string/format-inl.h
index 9900cdcee3c..5d10c823874 100644
--- a/library/cpp/yt/string/format-inl.h
+++ b/library/cpp/yt/string/format-inl.h
@@ -351,7 +351,7 @@ TFormatterWrapper<TFormatter> MakeFormatterWrapper(
TFormatter&& formatter)
{
return TFormatterWrapper<TFormatter>{
- .Formatter = std::move(formatter)
+ .Formatter = std::forward<TFormatter>(formatter)
};
}