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
commit7a8bfeeee3a2a91c8b26e196d49efc264a0f9941 (patch)
tree1b8e23cfad053b844f02054a0d30f8d1c355859f /library/cpp/getopt/small/last_getopt_opt.h
parentdd6b55b11723e4bb5b0cf7bffc0e45f15e2e46d3 (diff)
downloadydb-7a8bfeeee3a2a91c8b26e196d49efc264a0f9941.tar.gz
Restoring authorship annotation for <moskupols@yandex-team.ru>. Commit 1 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 a8dd5adca9..3272af30b2 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));