aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorvlad-kolotvin <vlad-kolotvin@yandex-team.ru>2022-02-10 16:48:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:20 +0300
commit9ff71a8b1ce582cb08730cb11eb25839441317d1 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util
parentd26952c54d3ee92bbdc1888b64f3dec893e5a383 (diff)
downloadydb-9ff71a8b1ce582cb08730cb11eb25839441317d1.tar.gz
Restoring authorship annotation for <vlad-kolotvin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/generic/yexception.h4
-rw-r--r--util/memory/blob.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/yexception.h b/util/generic/yexception.h
index 9fa2d095d2..b0c604e8c4 100644
--- a/util/generic/yexception.h
+++ b/util/generic/yexception.h
@@ -173,8 +173,8 @@ bool UncaughtException() noexcept;
std::string CurrentExceptionTypeName();
-TString FormatExc(const std::exception& exception);
-
+TString FormatExc(const std::exception& exception);
+
#define Y_ENSURE_EX(CONDITION, THROW_EXPRESSION) \
do { \
if (Y_UNLIKELY(!(CONDITION))) { \
diff --git a/util/memory/blob.h b/util/memory/blob.h
index e5066859e2..20c02a68df 100644
--- a/util/memory/blob.h
+++ b/util/memory/blob.h
@@ -116,11 +116,11 @@ public:
return !Length();
}
- /// Checks if the blob owns data
- Y_PURE_FUNCTION inline bool OwnsData() const noexcept {
- return S_.Base != nullptr;
- }
-
+ /// Checks if the blob owns data
+ Y_PURE_FUNCTION inline bool OwnsData() const noexcept {
+ return S_.Base != nullptr;
+ }
+
/// Checks if the object has a data array.
inline bool IsNull() const noexcept {
return !Data();