From 512a25658dd6b737a16b91fb7eba43deef004d87 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Oct 2020 04:05:48 +0300 Subject: add Sid class It's another newcomer straight from privilege-check. --- src/cmd_line.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/cmd_line.cpp') diff --git a/src/cmd_line.cpp b/src/cmd_line.cpp index eaf505f..d3dc781 100644 --- a/src/cmd_line.cpp +++ b/src/cmd_line.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -34,10 +35,6 @@ std::vector narrow_all(int argc, wchar_t** argv) { return utf; } -struct LocalDelete { - void operator()(wchar_t* argv[]) const { ::LocalFree(argv); } -}; - CommandLine do_parse(std::wstring src) { boost::trim(src); if (src.empty()) { -- cgit v1.2.3