Skip to content
Snippets Groups Projects
  1. Jan 25, 2012
  2. Jan 24, 2012
  3. Jan 23, 2012
  4. Jan 19, 2012
  5. Jan 23, 2012
  6. Jan 22, 2012
    • Julien Malik's avatar
      BUG: fix #441 and #478 - remove exception specifier from itk::DataObject::PropagateRequestedRegion · 999a21ee
      Julien Malik authored
      PropagateRequestedRegion was throwing exception different than InvalidRequestedRegion,
      causing the program to terminate immediately due to the exception specifier, at least with gcc.
      Read http://www.gotw.ca/publications/mill22.htm for the gory details about exception specifiers.
      
      In ITKv4 the exception specifier is already removed, that's why it is considered safe to apply
      this patch.
      
      In ITK, it has been removed for another reason :
      
      commit 0ac0c19efa3ee3f4450f8d52f23a10a8eea21b96
      Author: Cory Quammen <cquammen@cs.unc.edu>
      Date:   Thu Jul 28 20:31:54 2011 -0400
      
          ENH: Fixed uninitialized member variable.
      
          Also added an exception if the boundary condition is not set when
          GenerateInputRequestedRegion() is called.
      
          To do this, the restriction to only exceptions of type
          InvalidRequestedRegionError thrown in PropagateRequestedRegion() was
          relaxed in itk::DataObject so that the method can throw exceptions of
          any type.
      
          Change-Id: Id55e3c73ca657734e0908400d5406a9c63913161
      999a21ee
Loading