aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/perf/decperf.cxx2
-rw-r--r--tests/perf/encperf.cxx2
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);