diff --git a/sandboxed_api/sandbox2/executor.h b/sandboxed_api/sandbox2/executor.h index 4010278..03241a6 100644 --- a/sandboxed_api/sandbox2/executor.h +++ b/sandboxed_api/sandbox2/executor.h @@ -54,14 +54,6 @@ class Executor final { SetUpServerSideCommsFd(); } - // As above, but with `const std::vector&` - // Templated to avoid ambiguity with the absl::Span overloads when called - // with brace-initializers. - template - Executor(absl::string_view path, const std::vector& argv, - const std::vector& envp = CopyEnviron()) - : Executor(path, absl::MakeSpan(argv), absl::MakeSpan(envp)) {} - // Executor will own this file-descriptor, so if intend to use it, pass here // dup(fd) instead Executor(int exec_fd, absl::Span argv, @@ -73,14 +65,6 @@ class Executor final { SetUpServerSideCommsFd(); } - // As above, but with `const std::vector&` - // Templated to avoid ambiguity with the absl::Span overloads when called - // with brace-initializers. - template - Executor(int exec_fd, const std::vector& argv, - const std::vector& envp) - : Executor(exec_fd, absl::MakeSpan(argv), absl::MakeSpan(envp)) {} - // Uses a custom ForkServer (which the supplied ForkClient can communicate // with), which knows how to fork (or even execute) new sandboxed processes // (hence, no need to supply path/argv/envp here)