aboutsummaryrefslogtreecommitdiffstats
path: root/tests/perf/encperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/perf/encperf.cxx')
-rw-r--r--tests/perf/encperf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf/encperf.cxx b/tests/perf/encperf.cxx
index 610fc4ec..63794340 100644
--- a/tests/perf/encperf.cxx
+++ b/tests/perf/encperf.cxx
@@ -372,7 +372,7 @@ static struct stats runTest(const char *fn)
try {
cc = new CConn(fn);
- } catch (rdr::Exception& e) {
+ } catch (std::exception& e) {
fprintf(stderr, "Failed to open rfb file: %s\n", e.what());
exit(1);
}
@@ -381,7 +381,7 @@ static struct stats runTest(const char *fn)
while (true)
cc->processMsg();
} catch (rdr::EndOfStream& e) {
- } catch (rdr::Exception& e) {
+ } catch (std::exception& e) {
fprintf(stderr, "Failed to run rfb file: %s\n", e.what());
exit(1);
}