OSDN Git Service

Timerをクロージャ方式にした
[kcd/KCD.git] / KCD / Debug.swift
index 092801f..4b69786 100644 (file)
@@ -63,9 +63,13 @@ final class Debug {
     class func dump<T>(_ value: T, name: String? = nil, indent: Int = 0, maxDepth: Int = Int.max, maxItems: Int = Int.max) -> T {
         
         #if DEBUG
+        
             return Swift.dump(value, name: name, indent: indent, maxDepth: maxDepth, maxItems: maxItems)
+        
         #else
+        
             return value
+        
         #endif
     }