Skip to content

Commit

Permalink
push-pop in header
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Sep 20, 2024
1 parent c17a379 commit 290d529
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cpp/include/Ice/OutgoingAsync.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
#include <exception>
#include <string_view>

#if defined(__clang__)
# pragma clang diagnostic push
// See https://github.com/zeroc-ice/ice/issues/2747
# pragma clang diagnostic ignored "-Wshadow-uncaptured-local"
#endif

namespace IceInternal
{
class OutgoingAsyncBase;
Expand Down Expand Up @@ -495,4 +501,8 @@ namespace IceInternal
}
}

#ifdef __clang__
# pragma clang diagnostic pop
#endif

#endif

0 comments on commit 290d529

Please sign in to comment.