From 062fbb758cb6c0922577a4bc52eb07075c16fd55 Mon Sep 17 00:00:00 2001 From: Kondamon Date: Sat, 23 Jul 2022 11:37:56 +0200 Subject: [PATCH] Fixes build warning --- Sources/Carlos/Core/MemoryWarning.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Carlos/Core/MemoryWarning.swift b/Sources/Carlos/Core/MemoryWarning.swift index 88e63f9..5450393 100644 --- a/Sources/Carlos/Core/MemoryWarning.swift +++ b/Sources/Carlos/Core/MemoryWarning.swift @@ -5,7 +5,7 @@ import Foundation #endif #if !os(watchOS) - extension CacheLevel where Self: AnyObject { + extension CacheLevel { /** Adds a memory warning listener on the given cache