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
commit863a59a65247c24db7cb06789bc5cf79d04da32f (patch)
tree139dc000c8cd4a40f5659e421b7c75135d080307 /util/generic/noncopyable.h
parentf64e95a9eb9ab03240599eb9581c5a9102426a96 (diff)
downloadydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 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 c007934133..655436a70d 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;