diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-28 18:52:33 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-28 18:52:33 +0000 |
commit | c6d151d2ff929f4b18c6c401d86d284788b4564f (patch) | |
tree | a5c1a467eb1c608407e2566ee9862a6939867453 /project2/processes/processStream.cpp | |
parent | C++17 JSON (diff) | |
download | project2-1.3.2.tar.bz2 project2-1.3.2.tar.xz project2-1.3.2.zip |
GCC-8.2 and libadhocutil-0.6 compat fixesproject2-1.3.2
Diffstat (limited to 'project2/processes/processStream.cpp')
-rw-r--r-- | project2/processes/processStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/processes/processStream.cpp b/project2/processes/processStream.cpp index 079def9..79945d2 100644 --- a/project2/processes/processStream.cpp +++ b/project2/processes/processStream.cpp @@ -41,7 +41,7 @@ class ProcessStream : public Stream, IHaveParameters { // ignore any error if the application is still running, // but if there is already an exception being thrown, we don't // want to throw another. - if (status != 0 && !std::uncaught_exception()) { + if (status != 0 && !std::uncaught_exceptions()) { throw SubProcessFailed(strerror(status)); } } |