From 1ef99931e131343f069a4b74edfc06196d72d85b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 27 Apr 2008 02:22:14 +0000 Subject: 2008-04-27 Tatsuhiro Tsujikawa Rewritten Exception class. Throw exception object, not its pointer and catch by reference, so that remove problematic delete operator for catched exception. * src/Exception.cc * src/Exception.h * test/ExceptionTest.cc * src/*: All files throwing/catching exception. * test/*: All files throwing/catching exception. --- src/FileAllocationCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/FileAllocationCommand.h') diff --git a/src/FileAllocationCommand.h b/src/FileAllocationCommand.h index 601c923c..d17cab46 100644 --- a/src/FileAllocationCommand.h +++ b/src/FileAllocationCommand.h @@ -56,7 +56,7 @@ public: virtual bool executeInternal(); - virtual bool handleException(Exception* e); + virtual bool handleException(Exception& e); }; } // namespace aria2 -- cgit