[#4247] Added missing const in catch
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

This commit is contained in:
Francis Dupont
2025-12-08 15:45:07 +01:00
parent 136e1b347a
commit 4c524fd8a2

View File

@@ -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";