Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed May 16, 2023
1 parent 9479742 commit 81abade
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Sentry/SentryProfiler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -697,10 +697,10 @@ - (void)start
_state = state;
_profiler = std::make_shared<SamplingProfiler>(
[state](auto &backtrace) {
// in test, we'll overwrite the sample's timestamp to one mocked by SentryCurrentDate
// etal. Doing this in a unified way between tests and production required extensive
// changes to the C++ layer, so we opted for this solution to avoid any potential
// breakages or performance hits there.
// in test, we'll overwrite the sample's timestamp to one mocked by SentryCurrentDate
// etal. Doing this in a unified way between tests and production required extensive
// changes to the C++ layer, so we opted for this solution to avoid any potential
// breakages or performance hits there.
# if defined(TEST) || defined(TESTCI)
Backtrace backtraceCopy = backtrace;
backtraceCopy.absoluteTimestamp = SentryCurrentDate.systemTime;
Expand Down

0 comments on commit 81abade

Please sign in to comment.