mirror of
https://gitlab.isc.org/isc-projects/kea.git
synced 2025-12-20 00:53:34 +08:00
[#4247] Added missing const in catch
This commit is contained in:
@@ -122,7 +122,7 @@ HATest::runIOServiceInThread() {
|
||||
auto f = [](IOServicePtr io_service) {
|
||||
try {
|
||||
io_service->run();
|
||||
} catch (std::exception& ex) {
|
||||
} catch (const std::exception& ex) {
|
||||
ADD_FAILURE() << "error while running IOService::run: " << ex.what();
|
||||
} catch (...) {
|
||||
ADD_FAILURE() << "error while running IOService::run";
|
||||
|
||||
Reference in New Issue
Block a user