From 2b7857283b834391266e414adcff8c20f8fe3067 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Sun, 20 Oct 2024 11:06:13 +0200 Subject: Use standard library naming for exceptions This makes things more consistent since we mix with the standard library exceptions so often. --- tests/perf/decperf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/perf/decperf.cxx') diff --git a/tests/perf/decperf.cxx b/tests/perf/decperf.cxx index 41a93b3a..46f42fa2 100644 --- a/tests/perf/decperf.cxx +++ b/tests/perf/decperf.cxx @@ -210,7 +210,7 @@ static struct stats runTest(const char *fn) try { while (true) cc->processMsg(); - } catch (rdr::EndOfStream& e) { + } catch (rdr::end_of_stream& e) { } catch (std::exception& e) { fprintf(stderr, "Failed to run rfb file: %s\n", e.what()); exit(1); -- cgit v1.2.3