aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorlimburg <limburg@yandex-team.ru>2022-02-10 16:47:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:37 +0300
commitf8250dcf35b79fc52c9e6c6fa3931df9fd4ce472 (patch)
tree09491b73fe8fbb0990530ad9e7d4a6d96aa8dff4 /util
parent0d7c4ef9025d79c9bba6f62a92b490ee72e80ed0 (diff)
downloadydb-f8250dcf35b79fc52c9e6c6fa3931df9fd4ce472.tar.gz
Restoring authorship annotation for <limburg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/charset/recode_result.h12
-rw-r--r--util/generic/bitops.h2
-rw-r--r--util/generic/yexception.cpp2
-rw-r--r--util/string/util.h10
4 files changed, 13 insertions, 13 deletions
diff --git a/util/charset/recode_result.h b/util/charset/recode_result.h
index 2c7366e7b27..6b0c184da1b 100644
--- a/util/charset/recode_result.h
+++ b/util/charset/recode_result.h
@@ -1,9 +1,9 @@
#pragma once
enum RECODE_RESULT {
- RECODE_OK,
- RECODE_EOINPUT,
- RECODE_EOOUTPUT,
- RECODE_BROKENSYMBOL,
- RECODE_ERROR,
-};
+ RECODE_OK,
+ RECODE_EOINPUT,
+ RECODE_EOOUTPUT,
+ RECODE_BROKENSYMBOL,
+ RECODE_ERROR,
+};
diff --git a/util/generic/bitops.h b/util/generic/bitops.h
index 2db15fc59b6..fe6583a33c7 100644
--- a/util/generic/bitops.h
+++ b/util/generic/bitops.h
@@ -10,7 +10,7 @@
#include <intrin.h>
#endif
-namespace NBitOps {
+namespace NBitOps {
namespace NPrivate {
template <unsigned N, typename T>
struct TClp2Helper {
diff --git a/util/generic/yexception.cpp b/util/generic/yexception.cpp
index 2ce6c4369da..e24c179650d 100644
--- a/util/generic/yexception.cpp
+++ b/util/generic/yexception.cpp
@@ -1,5 +1,5 @@
#include "bt_exception.h"
-#include "yexception.h"
+#include "yexception.h"
#include <util/system/backtrace.h>
#include <util/system/type_name.h>
diff --git a/util/string/util.h b/util/string/util.h
index 0d77a5042b8..fb65f892736 100644
--- a/util/string/util.h
+++ b/util/string/util.h
@@ -15,11 +15,11 @@
int a2i(const TString& s);
/// Removes the last character if it is equal to c.
-template <class T>
-inline void RemoveIfLast(T& s, int c) {
- const size_t length = s.length();
- if (length && s[length - 1] == c)
- s.remove(length - 1);
+template <class T>
+inline void RemoveIfLast(T& s, int c) {
+ const size_t length = s.length();
+ if (length && s[length - 1] == c)
+ s.remove(length - 1);
}
/// Adds lastCh symbol to the the of the string if it is not already there.