Skip to content

Commit

Permalink
Merge pull request #4699 from rouault/fix_4698
Browse files Browse the repository at this point in the history
Windows build: remove unneeded qualifier on CPLMSVCSafeIntException class to fix pedantic build (fixes #4698)
  • Loading branch information
rouault authored Oct 25, 2021
2 parents d2f017f + 2f37173 commit d2f9067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdal/port/cpl_safemaths.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ inline CPLSafeInt<unsigned> CPLSM_TO_UNSIGNED(GUInt64 x);
class CPLMSVCSafeIntException : public msl::utilities::SafeIntException
{
public:
static void CPLMSVCSafeIntException::SafeIntOnOverflow()
static void SafeIntOnOverflow()
{
throw CPLSafeIntOverflow();
}
static void CPLMSVCSafeIntException::SafeIntOnDivZero()
static void SafeIntOnDivZero()
{
throw CPLSafeIntOverflowDivisionByZero();
}
Expand Down

0 comments on commit d2f9067

Please sign in to comment.