Author: post
Date: 2010-11-25 21:48:43 +0100 (Thu, 25 Nov 2010)
New Revision: 307

Modified:
   RawSpeed/FileMap.cpp
Log:
Don't throw object pointer.

Modified: RawSpeed/FileMap.cpp
===================================================================
--- RawSpeed/FileMap.cpp        2010-11-25 19:55:19 UTC (rev 306)
+++ RawSpeed/FileMap.cpp        2010-11-25 20:48:43 UTC (rev 307)
@@ -27,7 +27,7 @@
 FileMap::FileMap(uint32 _size) : size(_size) {
   data = (uchar8*)_aligned_malloc(size + 4, 16);
   if (!data) {
-    throw new FileIOException("Not enough memory to open file.");
+    throw FileIOException("Not enough memory to open file.");
   }
   mOwnAlloc = true;
 }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to