Suppress warning about inlining

This commit is contained in:
cketti 2022-08-09 17:31:28 +02:00
parent a807373e99
commit e083b6f31d

View file

@ -18,6 +18,7 @@ internal inline fun <reified T : MethodResponse> JmapRequest.Call.getMainRespons
return methodResponses.getMainResponseBlocking()
}
@Suppress("NOTHING_TO_INLINE")
internal inline fun <T> ListenableFuture<T>.futureGetOrThrow(): T {
return try {
get()