diff options
author | mihaild <[email protected]> | 2022-02-10 16:46:59 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:59 +0300 |
commit | 246417ad6168d3f7ab4a0cf1c79ba4259f7c45ae (patch) | |
tree | 2a65611ade91c8ae2f55647107c1a11ea743abd5 /util/system | |
parent | 5598c5e7bc7619bd51d87fea7b880b7788ad0b47 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system')
-rw-r--r-- | util/system/fasttime.cpp | 4 | ||||
-rw-r--r-- | util/system/thread.cpp | 2 | ||||
-rw-r--r-- | util/system/tls.cpp | 4 | ||||
-rw-r--r-- | util/system/tls.h | 4 | ||||
-rw-r--r-- | util/system/types.h | 6 |
5 files changed, 10 insertions, 10 deletions
diff --git a/util/system/fasttime.cpp b/util/system/fasttime.cpp index 057a814f0a4..4d40a42d63e 100644 --- a/util/system/fasttime.cpp +++ b/util/system/fasttime.cpp @@ -3,7 +3,7 @@ #include <util/generic/singleton.h> #include <util/generic/yexception.h> -#include <utility> +#include <utility> #include <util/thread/singleton.h> @@ -121,7 +121,7 @@ namespace { template <size_t N, class A, class B> class TLinePredictor { public: - using TSample = std::pair<A, B>; + using TSample = std::pair<A, B>; inline TLinePredictor() : C_(0) diff --git a/util/system/thread.cpp b/util/system/thread.cpp index 6236746c2d9..86762e32861 100644 --- a/util/system/thread.cpp +++ b/util/system/thread.cpp @@ -7,7 +7,7 @@ #include <util/generic/ylimits.h> #include <util/generic/yexception.h> #include "yassert.h" -#include <utility> +#include <utility> #if defined(_glibc_) #if !__GLIBC_PREREQ(2, 30) diff --git a/util/system/tls.cpp b/util/system/tls.cpp index c2f1a04a148..9de07d366d3 100644 --- a/util/system/tls.cpp +++ b/util/system/tls.cpp @@ -243,8 +243,8 @@ TKey::TKey(TDtor dtor) { } -TKey::TKey(TKey&&) noexcept = default; - +TKey::TKey(TKey&&) noexcept = default; + TKey::~TKey() = default; void* TKey::Get() const { diff --git a/util/system/tls.h b/util/system/tls.h index 3c4f56dbeb7..7539dcb35e3 100644 --- a/util/system/tls.h +++ b/util/system/tls.h @@ -157,7 +157,7 @@ namespace NTls { class TKey { public: TKey(TDtor dtor); - TKey(TKey&&) noexcept; + TKey(TKey&&) noexcept; ~TKey(); void* Get() const; @@ -177,7 +177,7 @@ namespace NTls { }; template <class T> - class TValue: public TMoveOnly { + class TValue: public TMoveOnly { class TConstructor { public: TConstructor() noexcept = default; diff --git a/util/system/types.h b/util/system/types.h index 12e68a60601..4955fbb3bbd 100644 --- a/util/system/types.h +++ b/util/system/types.h @@ -11,9 +11,9 @@ typedef int16_t i16; typedef uint8_t ui8; typedef uint16_t ui16; -typedef int yssize_t; -#define PRIYSZT "d" - +typedef int yssize_t; +#define PRIYSZT "d" + #if defined(_darwin_) && defined(_32_) typedef unsigned long ui32; typedef long i32; |