From 7d9fae2be157985a86e685aae5da9f5c3a8ef9f0 Mon Sep 17 00:00:00 2001 From: Matias Pequeno Date: Thu, 11 Jul 2024 12:55:56 -0300 Subject: [PATCH] Fix a compilation issue present in Xcode 16 beta --- CHANGELOG.md | 4 ++++ .../Monitors/RollbarCrashMonitor_CPPException.cpp | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76e846b7..9a475d10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Release Notes +### 3.3.1 + +- Fixes a compilation issue present in Xcode 16 beta. + ### 3.3.0 - Added Privacy Manifest to fulfill the new SDK privacy requirements from Apple. diff --git a/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp b/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp index 783f968a..20992583 100644 --- a/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp +++ b/RollbarNotifier/Sources/RollbarCrash/Monitors/RollbarCrashMonitor_CPPException.cpp @@ -39,18 +39,16 @@ #include #include #include +#include #include - #define STACKTRACE_BUFFER_LENGTH 30 #define DESCRIPTION_BUFFER_LENGTH 1000 - // Compiler hints for "if" statements #define likely_if(x) if(__builtin_expect(x,1)) #define unlikely_if(x) if(__builtin_expect(x,0)) - // ============================================================================ #pragma mark - Globals - // ============================================================================