aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-15 15:23:47 +0200
committerStefan Boberg <[email protected]>2021-09-15 15:23:47 +0200
commitf34aa060d7da16d4e08644cf8572db979f3ea8d0 (patch)
treec7c5e5f961c971e2c8e93f542241c7817aa9e3fb /zenserver/testing
parentMade logging macros always append `sv` string_view literal suffix (diff)
downloadzen-f34aa060d7da16d4e08644cf8572db979f3ea8d0.tar.xz
zen-f34aa060d7da16d4e08644cf8572db979f3ea8d0.zip
Changed `std::exception` into `std::runtime_error` since `std::exception` does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
Diffstat (limited to 'zenserver/testing')
-rw-r--r--zenserver/testing/launch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/testing/launch.cpp b/zenserver/testing/launch.cpp
index 608b515e1..55695ac9c 100644
--- a/zenserver/testing/launch.cpp
+++ b/zenserver/testing/launch.cpp
@@ -105,7 +105,7 @@ BasicJob::Wait(uint32_t TimeoutMs)
return true;
}
- throw std::exception("Failed wait on process handle");
+ throw std::runtime_error("Failed wait on process handle");
}
int