aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-02-11 00:51:38 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-02-11 00:51:38 +0000
commit1c380be4486e3fbc7209069d5cb04ebb2eb179ac (patch)
tree7460a5e24909c32fd88b8c8cd94d2548d26401e4 /library/cpp
parent1b5d9e2ff1d57aaa4d1d784c37756d92331e5dc2 (diff)
parent098dbd39a7651dcc945ab33e751fdf93cc87c914 (diff)
downloadydb-1c380be4486e3fbc7209069d5cb04ebb2eb179ac.tar.gz
Merge branch 'rightlib' into merge-libs-250211-0050
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/tld/tlds-alpha-by-domain.txt2
-rw-r--r--library/cpp/yt/misc/unaligned-inl.h31
-rw-r--r--library/cpp/yt/misc/unaligned.h23
3 files changed, 1 insertions, 55 deletions
diff --git a/library/cpp/tld/tlds-alpha-by-domain.txt b/library/cpp/tld/tlds-alpha-by-domain.txt
index 3427fe660e5..aa72a0fcd4e 100644
--- a/library/cpp/tld/tlds-alpha-by-domain.txt
+++ b/library/cpp/tld/tlds-alpha-by-domain.txt
@@ -1,4 +1,4 @@
-# Version 2025020700, Last Updated Fri Feb 7 07:07:02 2025 UTC
+# Version 2025021000, Last Updated Mon Feb 10 07:07:01 2025 UTC
AAA
AARP
ABB
diff --git a/library/cpp/yt/misc/unaligned-inl.h b/library/cpp/yt/misc/unaligned-inl.h
deleted file mode 100644
index 68e1c9b499e..00000000000
--- a/library/cpp/yt/misc/unaligned-inl.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef UNALIGNED_INL_H_
-#error "Direct inclusion of this file is not allowed, include unaligned.h"
-// For the sake of sane code completion.
-#include "unaligned.h"
-#endif
-
-#include <cstring>
-
-namespace NYT {
-
-////////////////////////////////////////////////////////////////////////////////
-
-template <class T>
- requires std::is_trivial_v<T>
-T UnalignedLoad(const T* ptr)
-{
- T value;
- std::memcpy(&value, ptr, sizeof(T));
- return value;
-}
-
-template <class T>
- requires std::is_trivial_v<T>
-void UnalignedStore(T* ptr, const T& value)
-{
- std::memcpy(ptr, &value, sizeof(T));
-}
-
-////////////////////////////////////////////////////////////////////////////////
-
-} // namespace NYT
diff --git a/library/cpp/yt/misc/unaligned.h b/library/cpp/yt/misc/unaligned.h
deleted file mode 100644
index 68c124183fb..00000000000
--- a/library/cpp/yt/misc/unaligned.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-#include <type_traits>
-
-namespace NYT {
-
-////////////////////////////////////////////////////////////////////////////////
-
-template <class T>
- requires std::is_trivial_v<T>
-T UnalignedLoad(const T* ptr);
-
-template <class T>
- requires std::is_trivial_v<T>
-void UnalignedStore(T* ptr, const T& value);
-
-////////////////////////////////////////////////////////////////////////////////
-
-} // namespace NYT
-
-#define UNALIGNED_INL_H_
-#include "unaligned-inl.h"
-#undef UNALIGNED_INL_H_