From b1b5570170381eab3ed70116c50f325386727fc3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 10 Apr 2020 14:35:36 +0200 Subject: Add process_path(effect) constructor --- libbutl/process.ixx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libbutl/process.ixx') diff --git a/libbutl/process.ixx b/libbutl/process.ixx index ea74e85..07c8bac 100644 --- a/libbutl/process.ixx +++ b/libbutl/process.ixx @@ -13,6 +13,14 @@ namespace butl } inline process_path:: + process_path (path e) + : effect (std::move (e)), + args0_ (nullptr) + { + initial = effect.string ().c_str (); + } + + inline process_path:: process_path (const char* i, path&& r, path&& e) : initial (i), recall (std::move (r)), -- cgit v1.1