diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-10-20 11:06:13 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-06 21:24:36 +0100 |
commit | 2b7857283b834391266e414adcff8c20f8fe3067 (patch) | |
tree | 146051a67b20b217593298eec695aafda89134f6 /tests | |
parent | ed07250fef4e258d0d37d1c4e520db6d6c1e6fdb (diff) | |
download | tigervnc-2b7857283b834391266e414adcff8c20f8fe3067.tar.gz tigervnc-2b7857283b834391266e414adcff8c20f8fe3067.zip |
Use standard library naming for exceptions
This makes things more consistent since we mix with the standard library
exceptions so often.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/perf/decperf.cxx | 2 | ||||
-rw-r--r-- | tests/perf/encperf.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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); diff --git a/tests/perf/encperf.cxx b/tests/perf/encperf.cxx index 9c7c77fd..d761bbed 100644 --- a/tests/perf/encperf.cxx +++ b/tests/perf/encperf.cxx @@ -380,7 +380,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); |