Commit 587e6ef4 authored by Adam Goins's avatar Adam Goins
Browse files

Fixed build warning...

Fixed build warning /scratch/isis_sprints/ISIS3/isis/src/mro/apps/hijitreg/Instrument.cpp:393:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
parent 275018d6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -390,7 +390,8 @@ namespace UA {
      unsigned int  CPMM,
      unsigned int  binning
    )
    throw(Out_of_Range, Invalid_Argument) {
    {

      if (CPMM >= CCDS) {
        ostringstream
        message;
@@ -414,7 +415,7 @@ namespace UA {
      return
        (int)rint(CCD_FOCAL_PLANE_X_OFFSETS_MM[CPMM]
                  / (CCD_PIXEL_SIZE_MM * binning));
    }

  }
  }   //  namespace HiRISE
}   //  namespace UA
+5 −6
Original line number Diff line number Diff line
@@ -399,8 +399,7 @@ static unsigned int calibration_lines_minimum
	@see	#BINNING_FACTORS
*/
static int focal_plane_x_offset
	(unsigned int CPMM, unsigned int binning = 1) 
	throw (Out_of_Range, Invalid_Argument);
	(unsigned int CPMM, unsigned int binning = 1) ;

};	//	class Instrument