aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-02-11 03:36:29 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-02-11 03:36:29 +0000
commitc166bec95e44baf473bfdd28aaf976a85da110a3 (patch)
tree7adfb406024a2ecd912a7daae4796ab5c68d24a7 /library/cpp
parente86276c064f63bbda07d6ddd5834401eb00a4d30 (diff)
parentf992866ec874491c1e07e4cb4f90c595668e2864 (diff)
downloadydb-c166bec95e44baf473bfdd28aaf976a85da110a3.tar.gz
Merge pull request #14412 from ydb-platform/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 3427fe660e..aa72a0fcd4 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 68e1c9b499..0000000000
--- 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 68c124183f..0000000000
--- 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_