aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authorRuslan Kovalev <ruslan.a.kovalev@gmail.com>2022-02-10 16:46:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:44 +0300
commit59e19371de37995fcb36beb16cd6ec030af960bc (patch)
treefa68e36093ebff8b805462e9e6d331fe9d348214 /util/generic/ptr.h
parent89db6fe2fe2c32d2a832ddfeb04e8d078e301084 (diff)
downloadydb-59e19371de37995fcb36beb16cd6ec030af960bc.tar.gz
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r--util/generic/ptr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h
index 19db0e3ec5..043d264316 100644
--- a/util/generic/ptr.h
+++ b/util/generic/ptr.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "fwd.h"
#include "utility.h"
@@ -41,13 +41,13 @@ inline void CheckedArrayDelete(T* t) {
delete[] t;
}
-class TNoAction {
+class TNoAction {
public:
template <class T>
static inline void Destroy(T*) noexcept {
}
-};
-
+};
+
class TDelete {
public:
template <class T>