aboutsummaryrefslogtreecommitdiffstats
path: root/util/charset/wide.h
diff options
context:
space:
mode:
authorkerzum <kerzum@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commit9a7232babfd763ccfe827bc70e82e0f50cfd8276 (patch)
treea39808b7482c4711a80f799a7281adb36d76a13a /util/charset/wide.h
parent0e68ae909d3b76a5a001a07880eb0010dec6b2ea (diff)
downloadydb-9a7232babfd763ccfe827bc70e82e0f50cfd8276.tar.gz
Restoring authorship annotation for <kerzum@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/charset/wide.h')
-rw-r--r--util/charset/wide.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/charset/wide.h b/util/charset/wide.h
index 04e6928aab..8bb3bc2409 100644
--- a/util/charset/wide.h
+++ b/util/charset/wide.h
@@ -1,5 +1,5 @@
#pragma once
-
+
#include "recode_result.h"
#include "unidata.h"
#include "utf8.h"
@@ -257,7 +257,7 @@ public:
return Begin;
}
};
-
+
namespace NDetail {
template <bool robust, typename TCharType>
inline void UTF8ToWideImplScalar(const unsigned char*& cur, const unsigned char* last, TCharType*& dest) noexcept {
@@ -622,7 +622,7 @@ template <typename TChar1, typename TChar2>
inline void Copy(const TChar1* first, size_t len, TChar2* result) {
Copy(first, first + len, result);
}
-
+
//! copies symbols from one character sequence to another without any conversion
//! @note this function can be used instead of the template constructor of @c std::basic_string:
//! template <typename InputIterator>
@@ -635,7 +635,7 @@ inline TStringType CopyTo(const TChar* first, const TChar* last) {
Copy(first, last, str.begin());
return str;
}
-
+
template <typename TStringType, typename TChar>
inline TStringType CopyTo(const TChar* s, size_t n) {
TStringType str = TStringType::Uninitialized(n);