diff options
| author | Stefan Boberg <[email protected]> | 2021-09-17 19:04:26 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-17 19:04:26 +0200 |
| commit | 025999f216f0fe99d0eacd1f7a9c6276b834bcb8 (patch) | |
| tree | ca19984e18371192fa2d80398178b1fdd448b52c /zencore/thread.cpp | |
| parent | clang-format (diff) | |
| download | zen-025999f216f0fe99d0eacd1f7a9c6276b834bcb8.tar.xz zen-025999f216f0fe99d0eacd1f7a9c6276b834bcb8.zip | |
Removed WindowsException from public headers
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 1c7e4b3ab..c02bf508a 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -257,7 +257,8 @@ ProcessHandle::Wait(int TimeoutMs) case WAIT_FAILED: // What might go wrong here, and what is meaningful to act on? - throw WindowsException("Process::Wait failed"); + using namespace std::literals; + ThrowLastError("Process::Wait failed"sv); } return false; |