diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-28 15:48:11 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-28 15:55:47 +0300 |
commit | 4a9ed40e441e241c0cca09bea08601a4449a93ea (patch) | |
tree | 1004e772ab06d120121f97ab9a48d4e31bd5f0da | |
parent | 6a58e5c3d674a249ffcf61d9412d50b6c51bf2af (diff) | |
download | ydb-4a9ed40e441e241c0cca09bea08601a4449a93ea.tar.gz |
Intermediate changes
-rw-r--r-- | yt/yt/client/driver/transaction_commands.cpp | 2 | ||||
-rw-r--r-- | yt/yt/library/profiling/solomon/proxy.cpp | 2 | ||||
-rw-r--r-- | yt/yt/library/profiling/solomon/proxy.h | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/yt/yt/client/driver/transaction_commands.cpp b/yt/yt/client/driver/transaction_commands.cpp index 6c47b4f1f6..889c4f0d8b 100644 --- a/yt/yt/client/driver/transaction_commands.cpp +++ b/yt/yt/client/driver/transaction_commands.cpp @@ -188,7 +188,7 @@ void TCommitTransactionCommand::DoExecute(ICommandContextPtr context) .Item("primary_commit_timestamp").Value(transactionCommitResult.PrimaryCommitTimestamp) .Item("commit_timestamps").DoMapFor( transactionCommitResult.CommitTimestamps.Timestamps, - [&](auto fluent, const auto& pair) { + [&] (auto fluent, const auto& pair) { fluent.Item(ToString(pair.first)).Value(pair.second); }) .EndMap(); diff --git a/yt/yt/library/profiling/solomon/proxy.cpp b/yt/yt/library/profiling/solomon/proxy.cpp index b2e8256501..4b37354e4d 100644 --- a/yt/yt/library/profiling/solomon/proxy.cpp +++ b/yt/yt/library/profiling/solomon/proxy.cpp @@ -24,7 +24,7 @@ using namespace NTracing; //////////////////////////////////////////////////////////////////////////////// -const static auto& Logger = SolomonLogger; +static constexpr auto& Logger = SolomonLogger; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt/library/profiling/solomon/proxy.h b/yt/yt/library/profiling/solomon/proxy.h index 937b098461..f4991c018a 100644 --- a/yt/yt/library/profiling/solomon/proxy.h +++ b/yt/yt/library/profiling/solomon/proxy.h @@ -20,7 +20,6 @@ namespace NYT::NProfiling { struct IEndpointProvider : public TRefCounted { -public: struct TEndpoint { //! Logical name of the endpoint. |