summaryrefslogtreecommitdiff
path: root/tests/test-Handles.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-Handles.cc')
-rw-r--r--tests/test-Handles.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-Handles.cc b/tests/test-Handles.cc
index c411c46..39c51e3 100644
--- a/tests/test-Handles.cc
+++ b/tests/test-Handles.cc
@@ -116,7 +116,7 @@ void SimpleTaskTest::Do() {
IO<Input> i(new Input("SomeInexistantFile.txt"));
i->open();
}
- catch (ENoEnt e) {
+ catch (ENoEnt & e) {
failed = true;
}
TAssert(failed);