aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/last_getopt_opt.h
diff options
context:
space:
mode:
authormoskupols <moskupols@yandex-team.ru>2022-02-10 16:50:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:52 +0300
commitebe95a44a99a2982f3d625f1dd31751baec804eb (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/getopt/small/last_getopt_opt.h
parent7a8bfeeee3a2a91c8b26e196d49efc264a0f9941 (diff)
downloadydb-ebe95a44a99a2982f3d625f1dd31751baec804eb.tar.gz
Restoring authorship annotation for <moskupols@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/getopt/small/last_getopt_opt.h')
-rw-r--r--library/cpp/getopt/small/last_getopt_opt.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/getopt/small/last_getopt_opt.h b/library/cpp/getopt/small/last_getopt_opt.h
index 3272af30b2..a8dd5adca9 100644
--- a/library/cpp/getopt/small/last_getopt_opt.h
+++ b/library/cpp/getopt/small/last_getopt_opt.h
@@ -684,12 +684,12 @@ namespace NLastGetopt {
return Handler1T<T>([target](auto&& value) { target->insert(std::move(value)); });
}
- // Emplaces TString arg to *target for each argument
- template <typename T>
- TOpt& EmplaceTo(TVector<T>* target) {
- return Handler1T<TString>([target](TString arg) { target->emplace_back(std::move(arg)); } );
- }
-
+ // Emplaces TString arg to *target for each argument
+ template <typename T>
+ TOpt& EmplaceTo(TVector<T>* target) {
+ return Handler1T<TString>([target](TString arg) { target->emplace_back(std::move(arg)); } );
+ }
+
template <class Container>
TOpt& SplitHandler(Container* target, const char delim) {
return Handler(new NLastGetopt::TOptSplitHandler<Container>(target, delim));