diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-05 17:52:06 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-05 19:17:11 +0300 |
commit | f5f8d5f05c7e73627be492a1f702fcb04af3160f (patch) | |
tree | b630e1fc8077dbb444ca93b67697597acabd8dc9 /libbutl/process.mxx | |
parent | 646ff7d9933b550b65b8377b3fa1b9bd85056cb3 (diff) |
Fix move-constructing/assigning for process_env and process_path classes
Diffstat (limited to 'libbutl/process.mxx')
-rw-r--r-- | libbutl/process.mxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbutl/process.mxx b/libbutl/process.mxx index 655650e..13438be 100644 --- a/libbutl/process.mxx +++ b/libbutl/process.mxx @@ -588,6 +588,14 @@ LIBBUTL_MODEXPORT namespace butl process_env (const butl::path& p, const V& v) : process_env (p.string (), v) {} + // Moveable-only type. + // + process_env (process_env&&); + process_env& operator= (process_env&&); + + process_env (const process_env&) = delete; + process_env& operator= (const process_env&) = delete; + private: template <typename V> void |