aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/last_getopt_opt.h
diff options
context:
space:
mode:
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));