Skip to content

Commit

Permalink
fix: Add missing atomic import (#2683)
Browse files Browse the repository at this point in the history
Add missing atomic import for SentryProfilingConditionals as for some
nightly Swift versions the project didn't compile.

Fixes GH-2678
  • Loading branch information
philipphofmann authored Feb 8, 2023
1 parent bd2afa6 commit 8f397a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Cleanup AppHangTracking properly when closing SDK (#2671)
- Add EXC_BAD_ACCESS subtypes to events (#2667)
- Fix atomic import error for profiling (#2683)

## 8.1.0

Expand Down
1 change: 1 addition & 0 deletions Sources/Sentry/include/SentrySamplingProfiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#if SENTRY_TARGET_PROFILING_SUPPORTED

# include <atomic>
# include <cstdint>
# include <functional>
# include <mach/mach.h>
Expand Down

0 comments on commit 8f397a7

Please sign in to comment.