aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.com>2023-05-16 12:04:37 +0300
committerbulatman <bulatman@yandex-team.com>2023-05-16 12:04:37 +0300
commit6d5e6dcc4c61046cc83599d4789a92f7bdc4b223 (patch)
treecb12a3182f117fd8d0a65e285bde357fe22157ec /library/cpp/yt/memory
parentb0758245d516b1c90e1af1aa867d7886d46693a6 (diff)
downloadydb-6d5e6dcc4c61046cc83599d4789a92f7bdc4b223.tar.gz
Remove extra semicolons in yt
Diffstat (limited to 'library/cpp/yt/memory')
-rw-r--r--library/cpp/yt/memory/range.h2
-rw-r--r--library/cpp/yt/memory/shared_range.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yt/memory/range.h b/library/cpp/yt/memory/range.h
index 6c71aa9496..ac1f138b30 100644
--- a/library/cpp/yt/memory/range.h
+++ b/library/cpp/yt/memory/range.h
@@ -288,7 +288,7 @@ TRange<U> ReinterpretCastRange(TRange<T> range)
{
static_assert(sizeof(T) == sizeof(U), "T and U must have equal sizes.");
return TRange<U>(reinterpret_cast<const U*>(range.Begin()), range.Size());
-};
+}
////////////////////////////////////////////////////////////////////////////////
diff --git a/library/cpp/yt/memory/shared_range.h b/library/cpp/yt/memory/shared_range.h
index 780a44ae8b..967a7cca26 100644
--- a/library/cpp/yt/memory/shared_range.h
+++ b/library/cpp/yt/memory/shared_range.h
@@ -212,7 +212,7 @@ TSharedRange<U> ReinterpretCastRange(const TSharedRange<T>& range)
{
static_assert(sizeof(T) == sizeof(U), "T and U must have equal sizes.");
return TSharedRange<U>(reinterpret_cast<const U*>(range.Begin()), range.Size(), range.GetHolder());
-};
+}
////////////////////////////////////////////////////////////////////////////////