Przeglądaj źródła

Merge branch 'tiwoc-fix-assign-object-property'

August Mueller 3 lat temu
rodzic
commit
977dd81701
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      Tests/FMDBTempDBTests.m
  2. 1 1
      src/fmdb/FMDatabasePool.h

+ 2 - 2
Tests/FMDBTempDBTests.m

@@ -8,8 +8,8 @@
 
 #import "FMDBTempDBTests.h"
 
-static NSString *const testDatabasePath = @"/tmp/tmp.db";
-static NSString *const populatedDatabasePath = @"/tmp/tmp-populated.db";
+static NSString *const testDatabasePath = @"/private/tmp/tmp.db";
+static NSString *const populatedDatabasePath = @"/private/tmp/tmp-populated.db";
 
 @implementation FMDBTempDBTests
 

+ 1 - 1
src/fmdb/FMDatabasePool.h

@@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
 
 /** Delegate object */
 
-@property (atomic, assign, nullable) id delegate;
+@property (atomic, unsafe_unretained, nullable) id delegate;
 
 /** Maximum number of databases to create */