summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorelviandante <[email protected]>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:47 +0300
commit621a17b75565a8d70df465a0ac5c93a7c6d2e61f (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util
parent643ddee8bd6125a18c4b1506c35bee857f64f4d2 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/generic/intrlist.h2
-rw-r--r--util/memory/pool.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/intrlist.h b/util/generic/intrlist.h
index 70f9f05422b..b5d3f2051b5 100644
--- a/util/generic/intrlist.h
+++ b/util/generic/intrlist.h
@@ -99,7 +99,7 @@ public:
inline void SetPrev(TListItem* item) noexcept {
Prev_ = item;
}
-
+
public:
inline T* Node() noexcept {
return static_cast<T*>(this);
diff --git a/util/memory/pool.h b/util/memory/pool.h
index 9d3ca1f6f8f..13c8b6b9ede 100644
--- a/util/memory/pool.h
+++ b/util/memory/pool.h
@@ -201,19 +201,19 @@ public:
for (T *ptr = arr, *end = arr + count; ptr != end; ++ptr) {
new (ptr) T;
}
-
+
return arr;
}
-
+
template <typename TChar>
inline TChar* Append(const TChar* str) {
return Append(str, std::char_traits<TChar>::length(str) + 1); // include terminating zero byte
}
-
+
template <typename TChar>
inline TChar* Append(const TChar* str, size_t len) {
TChar* ret = AllocateArray<TChar>(len);
-
+
std::char_traits<TChar>::copy(ret, str, len);
return ret;
}