summaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authoriroubin <[email protected]>2022-02-10 16:52:05 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:52:05 +0300
commit94a4c65975048c0c31313b5105d9eb14cbde4985 (patch)
tree10d8bff3d82a2ded7c507fbc2f27eebf8eccc4b7 /util/generic/ptr.h
parent774bb09ec81216d51cb063ed9af52ddbc712ab20 (diff)
Restoring authorship annotation for <[email protected]>. 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 19db0e3ec55..bd173b6a0e8 100644
--- a/util/generic/ptr.h
+++ b/util/generic/ptr.h
@@ -940,12 +940,12 @@ struct THash<TSharedPtr<T, C, D>>: THash<const T*> {
}
};
-template <class T, class D = TDelete>
-using TAtomicSharedPtr = TSharedPtr<T, TAtomicCounter, D>;
+template <class T, class D = TDelete>
+using TAtomicSharedPtr = TSharedPtr<T, TAtomicCounter, D>;
// use with great care. if in doubt, use TAtomicSharedPtr instead
-template <class T, class D = TDelete>
-using TSimpleSharedPtr = TSharedPtr<T, TSimpleCounter, D>;
+template <class T, class D = TDelete>
+using TSimpleSharedPtr = TSharedPtr<T, TSimpleCounter, D>;
template <typename T, typename C, typename... Args>
[[nodiscard]] TSharedPtr<T, C> MakeShared(Args&&... args) {