aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/mem_copy.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/mem_copy.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/mem_copy.h')
-rw-r--r--util/generic/mem_copy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/mem_copy.h b/util/generic/mem_copy.h
index 6f38fdc1ab..b68c852953 100644
--- a/util/generic/mem_copy.h
+++ b/util/generic/mem_copy.h
@@ -13,7 +13,7 @@ template <class T>
using TIfNotPOD = std::enable_if_t<!TTypeTraits<T>::IsPod, T*>;
template <class T>
-static inline TIfPOD<T> MemCopy(T* to, const T* from, size_t n) noexcept {
+static inline TIfPOD<T> MemCopy(T* to, const T* from, size_t n) noexcept {
if (n) {
memcpy(to, from, n * sizeof(T));
}
@@ -31,7 +31,7 @@ static inline TIfNotPOD<T> MemCopy(T* to, const T* from, size_t n) {
}
template <class T>
-static inline TIfPOD<T> MemMove(T* to, const T* from, size_t n) noexcept {
+static inline TIfPOD<T> MemMove(T* to, const T* from, size_t n) noexcept {
if (n) {
memmove(to, from, n * sizeof(T));
}