aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/modchooser.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.com>2022-07-30 14:29:06 +0300
committertobo <tobo@yandex-team.com>2022-07-30 14:29:06 +0300
commit5cfa8b89b44d6e426aab0be7b64ccf37ea364217 (patch)
tree82223e9b739bc44604c490bdbf97dc39ef432eb7 /library/cpp/getopt/small/modchooser.cpp
parent4d70156d96ab66cd5e0aac0db71be843da499b54 (diff)
downloadydb-5cfa8b89b44d6e426aab0be7b64ccf37ea364217.tar.gz
rm unused includes + cleanup
Diffstat (limited to 'library/cpp/getopt/small/modchooser.cpp')
-rw-r--r--library/cpp/getopt/small/modchooser.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/library/cpp/getopt/small/modchooser.cpp b/library/cpp/getopt/small/modchooser.cpp
index 2fa5cfd070..c232857713 100644
--- a/library/cpp/getopt/small/modchooser.cpp
+++ b/library/cpp/getopt/small/modchooser.cpp
@@ -1,21 +1,18 @@
#include "completer.h"
#include "completer_command.h"
-#include "completion_generator.h"
#include "last_getopt.h"
#include "modchooser.h"
#include <library/cpp/colorizer/colors.h>
#include <util/stream/output.h>
-#include <util/stream/format.h>
#include <util/generic/yexception.h>
#include <util/generic/ptr.h>
#include <util/string/builder.h>
-#include <util/string/join.h>
class PtrWrapper: public TMainClass {
public:
- explicit PtrWrapper(const TMainFunctionPtr main)
+ explicit PtrWrapper(const TMainFunctionPtr& main)
: Main(main)
{
}
@@ -30,7 +27,7 @@ private:
class PtrvWrapper: public TMainClass {
public:
- explicit PtrvWrapper(const TMainFunctionPtrV main)
+ explicit PtrvWrapper(const TMainFunctionPtrV& main)
: Main(main)
{
}