diff --git a/Frameworks/command/src/runner.h b/Frameworks/command/src/runner.h index 46b71a8d..ec295ca1 100644 --- a/Frameworks/command/src/runner.h +++ b/Frameworks/command/src/runner.h @@ -50,6 +50,7 @@ namespace command struct PUBLIC runner_t : std::enable_shared_from_this { friend runner_ptr runner (bundle_command_t const& command, ng::buffer_t const& buffer, ng::ranges_t const& selection, std::map const& environment, delegate_ptr delegate); + runner_t () = delete; void launch (); void wait (bool alsoForDetached = false); @@ -64,7 +65,6 @@ namespace command std::map const& environment () const { return _environment; } private: - runner_t (); // not supported runner_t (bundle_command_t const& command, ng::buffer_t const& buffer, ng::ranges_t const& selection, std::map const& environment, delegate_ptr delegate); struct PUBLIC my_process_t : oak::process_t