From 1e0ba312edbe0feea88737380ef1a71782779437 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 17 Oct 2011 21:04:34 -0700 Subject: Redefined how the IO class works. The ref counting should now work properly. --- tests/test-Handles.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-Handles.cc b/tests/test-Handles.cc index dffdc9a..c500394 100644 --- a/tests/test-Handles.cc +++ b/tests/test-Handles.cc @@ -20,13 +20,13 @@ void MainTask::Do() { bool failed = false; try { - IO i(new Input("SomeInexistantFile.txt")); + IO i(new Input("SomeInexistantFile.txt")); } catch (ENoEnt e) { failed = true; } Assert(failed); - IO i(new Input("tests/rtest.txt")); + IO i(new Input("tests/rtest.txt")); Printer::log(M_STATUS, "Opened file %s:", i->getName()); Printer::log(M_STATUS, " - size = %lli", i->getSize()); -- cgit v1.2.3