aboutsummaryrefslogtreecommitdiff
path: root/tests/process/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-12 12:02:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-12 12:02:06 +0200
commit334b37f48672b8d85700923bae493acb7db3060b (patch)
treec8a69f57a16698730def1f29e52cc9612d8eecdc /tests/process/driver.cxx
parent04f4bb3e2492bb6e4b0769b4c7f020493cfa5cc4 (diff)
Resolve ambiguity between std:: and butl:: optional
Diffstat (limited to 'tests/process/driver.cxx')
-rw-r--r--tests/process/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx
index cd79d71..8e0ad36 100644
--- a/tests/process/driver.cxx
+++ b/tests/process/driver.cxx
@@ -307,12 +307,12 @@ main (int argc, const char* argv[])
// Note that if to create as just process(0) then the
// process(const char* args[], int=0, int=1, int=2) ctor is being called.
//
- process p (optional<process_exit> (process_exit (0)));
+ process p (process_exit (0));
assert (p.wait ()); // "Exited" successfully.
}
{
- process p (optional<process_exit> (process_exit (1)));
+ process p (process_exit (1));
assert (!p.wait ()); // "Exited" with an error.
}