From 7264affcf9a78c9f060a42720300e72c43afaea1 Mon Sep 17 00:00:00 2001 From: Ryan Brooks Date: Tue, 17 Dec 2024 11:29:51 -0800 Subject: [PATCH] noinline --- .../src/main/kotlin/com/emergetools/snapshots/util/Profiler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshots/snapshots/src/main/kotlin/com/emergetools/snapshots/util/Profiler.kt b/snapshots/snapshots/src/main/kotlin/com/emergetools/snapshots/util/Profiler.kt index 760000f8..79f0387b 100644 --- a/snapshots/snapshots/src/main/kotlin/com/emergetools/snapshots/util/Profiler.kt +++ b/snapshots/snapshots/src/main/kotlin/com/emergetools/snapshots/util/Profiler.kt @@ -76,7 +76,7 @@ class Profiler( } } - private inline fun traceInternal(name: String, crossinline block: () -> T): T { + private inline fun traceInternal(name: String, noinline block: () -> T): T { if (!profilingEnabled) { Log.d(TAG, "Profiling disabled, skipping trace") return block()