diff options
author | babenko <babenko@yandex-team.com> | 2023-06-03 21:13:48 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2023-06-03 21:13:48 +0300 |
commit | d642391d08e8f307e8a3ea6871cdc3b948aa3dfe (patch) | |
tree | 11397a8add6a5cb319ef6406acbf74edf36a8847 /library/cpp/yt | |
parent | 2017c5d3f28b1ef047abf57e8b9cb94726207dcf (diff) | |
download | ydb-d642391d08e8f307e8a3ea6871cdc3b948aa3dfe.tar.gz |
Fix typos in library/cpp/yt
Diffstat (limited to 'library/cpp/yt')
-rw-r--r-- | library/cpp/yt/exception/exception.cpp | 2 | ||||
-rw-r--r-- | library/cpp/yt/exception/exception.h | 2 | ||||
-rw-r--r-- | library/cpp/yt/memory/memory_tag.h | 2 | ||||
-rw-r--r-- | library/cpp/yt/memory/weak_ptr.h | 2 | ||||
-rw-r--r-- | library/cpp/yt/misc/preprocessor.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yt/exception/exception.cpp b/library/cpp/yt/exception/exception.cpp index 1059d497e8..2729511d5a 100644 --- a/library/cpp/yt/exception/exception.cpp +++ b/library/cpp/yt/exception/exception.cpp @@ -8,7 +8,7 @@ TSimpleException::TSimpleException(TString message) : Message_(std::move(message)) { } -const TString& TSimpleException::GetMesage() const +const TString& TSimpleException::GetMessage() const { return Message_; } diff --git a/library/cpp/yt/exception/exception.h b/library/cpp/yt/exception/exception.h index 7d35637d60..1ac3a76ea4 100644 --- a/library/cpp/yt/exception/exception.h +++ b/library/cpp/yt/exception/exception.h @@ -16,7 +16,7 @@ class TSimpleException public: explicit TSimpleException(TString message); - const TString& GetMesage() const; + const TString& GetMessage() const; const char* what() const noexcept override; protected: diff --git a/library/cpp/yt/memory/memory_tag.h b/library/cpp/yt/memory/memory_tag.h index 5f154e274e..9c975ae170 100644 --- a/library/cpp/yt/memory/memory_tag.h +++ b/library/cpp/yt/memory/memory_tag.h @@ -23,7 +23,7 @@ void SetCurrentMemoryTag(TMemoryTag tag); TMemoryTag GetCurrentMemoryTag(); // Returns the memory usage for a given tag. -// The value is somewhat approxiate and racy. +// The value is somewhat approximate and racy. size_t GetMemoryUsageForTag(TMemoryTag tag); // A batched version of GetMemoryUsageForTag. diff --git a/library/cpp/yt/memory/weak_ptr.h b/library/cpp/yt/memory/weak_ptr.h index 7602599883..57d174f510 100644 --- a/library/cpp/yt/memory/weak_ptr.h +++ b/library/cpp/yt/memory/weak_ptr.h @@ -268,7 +268,7 @@ int ResetAndGetResidualRefCount(TIntrusivePtr<T>& pointer) //////////////////////////////////////////////////////////////////////////////// -// TODO(sandello): Kill comparsions. +// TODO(sandello): Kill comparisons. template <class T> bool operator<(const TWeakPtr<T>& lhs, const TWeakPtr<T>& rhs) { diff --git a/library/cpp/yt/misc/preprocessor.h b/library/cpp/yt/misc/preprocessor.h index c7ac6e63e4..5b929a03b5 100644 --- a/library/cpp/yt/misc/preprocessor.h +++ b/library/cpp/yt/misc/preprocessor.h @@ -1,7 +1,7 @@ #pragma once /*! - * \file preprocesor.h + * \file preprocessor.h * \brief Preprocessor metaprogramming macros */ |