Skip to content

Commit

Permalink
noinline
Browse files Browse the repository at this point in the history
  • Loading branch information
rbro112 committed Dec 17, 2024
1 parent 455b396 commit 7264aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Profiler(
}
}

private inline fun <T> traceInternal(name: String, crossinline block: () -> T): T {
private inline fun <T> traceInternal(name: String, noinline block: () -> T): T {
if (!profilingEnabled) {
Log.d(TAG, "Profiling disabled, skipping trace")
return block()
Expand Down

0 comments on commit 7264aff

Please sign in to comment.