Skip to content

Commit bcc825c

Browse files
author
Chase Geigle
authored
Merge pull request #14 from ngrodzitski/master
Modify constructor to enable const std::string& as a first argument
2 parents e3e2b95 + 5fc3fd9 commit bcc825c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/process.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class process
434434
* passing the given arguments to it.
435435
*/
436436
template <class... Args>
437-
process(std::string&& application, Args&&... args)
437+
process(std::string application, Args&&... args)
438438
: args_{std::move(application), std::forward<Args>(args)...},
439439
in_stream_{&pipe_buf_},
440440
out_stream_{&pipe_buf_},

0 commit comments

Comments
 (0)