aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cgiparam
diff options
context:
space:
mode:
authorsomov <somov@yandex-team.ru>2022-02-10 16:45:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:47 +0300
commita5950576e397b1909261050b8c7da16db58f10b1 (patch)
tree7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /library/cpp/cgiparam
parent81eddc8c0b55990194e112b02d127b87d54164a9 (diff)
downloadydb-a5950576e397b1909261050b8c7da16db58f10b1.tar.gz
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/cgiparam')
-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 87d1ab0ad4..1da4452adf 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>