summaryrefslogtreecommitdiffstats
path: root/tests/decperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/decperf.cxx')
-rw-r--r--tests/decperf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/decperf.cxx b/tests/decperf.cxx
index 6714cb10..1d0c80c4 100644
--- a/tests/decperf.cxx
+++ b/tests/decperf.cxx
@@ -145,9 +145,9 @@ static double runTest(const char *fn)
CConn *cc;
double time;
- cc = new CConn(fn);
-
try {
+ cc = new CConn(fn);
+
while (true)
cc->processMsg();
} catch (rdr::EndOfStream e) {