aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/noncopyable.h
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/generic/noncopyable.h
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/noncopyable.h')
-rw-r--r--util/generic/noncopyable.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/generic/noncopyable.h b/util/generic/noncopyable.h
index 655436a70d..c007934133 100644
--- a/util/generic/noncopyable.h
+++ b/util/generic/noncopyable.h
@@ -1,20 +1,20 @@
#pragma once
-/**
- * @class TNonCopyable
+/**
+ * @class TNonCopyable
*
- * Inherit your class from `TNonCopyable` if you want to make it noncopyable.
+ * Inherit your class from `TNonCopyable` if you want to make it noncopyable.
*
- * Example usage:
- * @code
- * class Foo: private TNonCopyable {
- * // ...
- * };
- * @endcode
+ * Example usage:
+ * @code
+ * class Foo: private TNonCopyable {
+ * // ...
+ * };
+ * @endcode
*/
namespace NNonCopyable { // protection from unintended ADL
- struct TNonCopyable {
+ struct TNonCopyable {
TNonCopyable(const TNonCopyable&) = delete;
TNonCopyable& operator=(const TNonCopyable&) = delete;
@@ -22,7 +22,7 @@ namespace NNonCopyable { // protection from unintended ADL
~TNonCopyable() = default;
};
- struct TMoveOnly {
+ struct TMoveOnly {
TMoveOnly(TMoveOnly&&) noexcept = default;
TMoveOnly& operator=(TMoveOnly&&) noexcept = default;