From 9ad2894d3a432775a19303a5e8b7a79092017963 Mon Sep 17 00:00:00 2001
From: mikhnenko <mikhnenko@yandex-team.com>
Date: Fri, 4 Oct 2024 09:58:47 +0300
Subject: Remove Size, Empty and Data usages from library
 commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af

---
 library/cpp/monlib/encode/json/json_encoder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'library/cpp/monlib/encode/json')

diff --git a/library/cpp/monlib/encode/json/json_encoder.cpp b/library/cpp/monlib/encode/json/json_encoder.cpp
index 20d2bb6283..69da5170f0 100644
--- a/library/cpp/monlib/encode/json/json_encoder.cpp
+++ b/library/cpp/monlib/encode/json/json_encoder.cpp
@@ -198,7 +198,7 @@ namespace NMonitoring {
                 if (Style_ != EJsonStyle::Cloud) {
                     return;
                 }
-                if (CurrentMetricName_.Empty()) {
+                if (CurrentMetricName_.empty()) {
                     ythrow yexception() << "label '" << MetricNameLabel_ << "' is not defined";
                 }
                 Buf_.WriteKey("name");
-- 
cgit v1.2.3