From: Wolfgang Bangerth Date: Mon, 10 Apr 2023 19:09:27 +0000 (-0600) Subject: Do not infringe on the compiler's use of names. X-Git-Tag: v9.5.0-rc1~345^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9598c437818f419ddf34803495c9543df357939;p=dealii.git Do not infringe on the compiler's use of names. --- diff --git a/source/lac/petsc_communication_pattern.cc b/source/lac/petsc_communication_pattern.cc index b2830a4f97..f89f9a93c3 100644 --- a/source/lac/petsc_communication_pattern.cc +++ b/source/lac/petsc_communication_pattern.cc @@ -23,12 +23,12 @@ DEAL_II_NAMESPACE_OPEN // Shorthand notation for PETSc error codes. -# define AssertPETSc(code) \ - do \ - { \ - PetscErrorCode __ierr = (code); \ - AssertThrow(__ierr == 0, ExcPETScError(__ierr)); \ - } \ +# define AssertPETSc(code) \ + do \ + { \ + PetscErrorCode ierr = (code); \ + AssertThrow(ierr == 0, ExcPETScError(ierr)); \ + } \ while (0) namespace PETScWrappers