瀏覽代碼

Suppressing some clang warnings for deprecated methods.

August Mueller 13 年之前
父節點
當前提交
ceef9e7744
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/FMResultSet.m

+ 4 - 0
src/FMResultSet.m

@@ -95,6 +95,9 @@ - (void)kvcMagic:(id)object {
     }
     }
 }
 }
 
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-implementations"
+
 - (NSDictionary*)resultDict {
 - (NSDictionary*)resultDict {
     
     
     int num_cols = sqlite3_data_count([_statement statement]);
     int num_cols = sqlite3_data_count([_statement statement]);
@@ -122,6 +125,7 @@ - (NSDictionary*)resultDict {
     return nil;
     return nil;
 }
 }
 
 
+#pragma clang diagnostic pop
 
 
 - (NSDictionary*)resultDictionary {
 - (NSDictionary*)resultDictionary {