aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/lower_case/lciter.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/digest/lower_case/lciter.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/digest/lower_case/lciter.h')
-rw-r--r--library/cpp/digest/lower_case/lciter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/digest/lower_case/lciter.h b/library/cpp/digest/lower_case/lciter.h
index 9538e57932..72f639605e 100644
--- a/library/cpp/digest/lower_case/lciter.h
+++ b/library/cpp/digest/lower_case/lciter.h
@@ -7,24 +7,24 @@
template <class T>
struct TLowerCaseIterator: public std::iterator<std::input_iterator_tag, T> {
- using TNonConst = std::remove_const_t<T>;
+ using TNonConst = std::remove_const_t<T>;
inline TLowerCaseIterator(T* c)
: C(c)
{
}
- inline TLowerCaseIterator& operator++() noexcept {
+ inline TLowerCaseIterator& operator++() noexcept {
++C;
return *this;
}
- inline TLowerCaseIterator operator++(int) noexcept {
+ inline TLowerCaseIterator operator++(int) noexcept {
return C++;
}
- inline TNonConst operator*() const noexcept {
+ inline TNonConst operator*() const noexcept {
return AsciiToLower(*C);
}
@@ -32,11 +32,11 @@ struct TLowerCaseIterator: public std::iterator<std::input_iterator_tag, T> {
};
template <class T>
-inline bool operator==(const TLowerCaseIterator<T>& l, const TLowerCaseIterator<T>& r) noexcept {
+inline bool operator==(const TLowerCaseIterator<T>& l, const TLowerCaseIterator<T>& r) noexcept {
return l.C == r.C;
}
template <class T>
-inline bool operator!=(const TLowerCaseIterator<T>& l, const TLowerCaseIterator<T>& r) noexcept {
+inline bool operator!=(const TLowerCaseIterator<T>& l, const TLowerCaseIterator<T>& r) noexcept {
return !(l == r);
}