aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Shatov <35371391+domwst@users.noreply.github.com>2023-12-27 22:05:41 +0700
committerGitHub <noreply@github.com>2023-12-27 22:05:41 +0700
commita32b0c13f0f5f1b96653405e3ebd7f106769368c (patch)
treef76f370dfbc4105cc4e12114803a66bc90d0e30a
parent75470f709400ae7c2fac349fbc8d1aa7efc92dfa (diff)
downloadydb-a32b0c13f0f5f1b96653405e3ebd7f106769368c.tar.gz
Fixed TItem in-place creation under clang14 (#752)
-rw-r--r--ydb/core/blobstorage/pdisk/blobstorage_pdisk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ydb/core/blobstorage/pdisk/blobstorage_pdisk.h b/ydb/core/blobstorage/pdisk/blobstorage_pdisk.h
index 2777f5cff7..2c1654a83b 100644
--- a/ydb/core/blobstorage/pdisk/blobstorage_pdisk.h
+++ b/ydb/core/blobstorage/pdisk/blobstorage_pdisk.h
@@ -354,6 +354,11 @@ struct TEvMultiLog : public TEventLocal<TEvMultiLog, TEvBlobStorage::EvMultiLog>
}
struct TItem {
+ TItem(THolder<TEvLog>&& event, NWilson::TTraceId&& traceId)
+ : Event(std::move(event))
+ , TraceId(std::move(traceId))
+ {}
+
THolder<TEvLog> Event;
NWilson::TTraceId TraceId;
};