aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-06-28 15:48:11 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-06-28 15:55:47 +0300
commit4a9ed40e441e241c0cca09bea08601a4449a93ea (patch)
tree1004e772ab06d120121f97ab9a48d4e31bd5f0da
parent6a58e5c3d674a249ffcf61d9412d50b6c51bf2af (diff)
downloadydb-4a9ed40e441e241c0cca09bea08601a4449a93ea.tar.gz
Intermediate changes
-rw-r--r--yt/yt/client/driver/transaction_commands.cpp2
-rw-r--r--yt/yt/library/profiling/solomon/proxy.cpp2
-rw-r--r--yt/yt/library/profiling/solomon/proxy.h1
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.