aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cgiparam/cgiparam.h
diff options
context:
space:
mode:
authorsomov <somov@yandex-team.ru>2022-02-10 16:45:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:49 +0300
commit7489e4682331202b9c7d863c0898eb83d7b12c2b (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /library/cpp/cgiparam/cgiparam.h
parenta5950576e397b1909261050b8c7da16db58f10b1 (diff)
downloadydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/cgiparam/cgiparam.h')
-rw-r--r--library/cpp/cgiparam/cgiparam.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/cgiparam/cgiparam.h b/library/cpp/cgiparam/cgiparam.h
index 1da4452adf..87d1ab0ad4 100644
--- a/library/cpp/cgiparam/cgiparam.h
+++ b/library/cpp/cgiparam/cgiparam.h
@@ -87,21 +87,21 @@ public:
void InsertEscaped(const TStringBuf name, const TStringBuf value);
-#if !defined(__GLIBCXX__)
+#if !defined(__GLIBCXX__)
template <typename TName, typename TValue>
inline void InsertUnescaped(TName&& name, TValue&& value) {
- // TStringBuf use as TName or TValue is C++17 actually.
- // There is no pair constructor available in C++14 when required type
- // is not implicitly constructible from given type.
- // But libc++ pair allows this with C++14.
+ // TStringBuf use as TName or TValue is C++17 actually.
+ // There is no pair constructor available in C++14 when required type
+ // is not implicitly constructible from given type.
+ // But libc++ pair allows this with C++14.
emplace(std::forward<TName>(name), std::forward<TValue>(value));
}
-#else
- template <typename TName, typename TValue>
- inline void InsertUnescaped(TName&& name, TValue&& value) {
- emplace(TString(name), TString(value));
- }
-#endif
+#else
+ template <typename TName, typename TValue>
+ inline void InsertUnescaped(TName&& name, TValue&& value) {
+ emplace(TString(name), TString(value));
+ }
+#endif
// replace all values for a given key with new values
template <typename TIter>