diff options
Diffstat (limited to 'Firestore/Source/Remote/FSTExponentialBackoff.mm')
-rw-r--r-- | Firestore/Source/Remote/FSTExponentialBackoff.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Firestore/Source/Remote/FSTExponentialBackoff.mm b/Firestore/Source/Remote/FSTExponentialBackoff.mm index ad27c25..8077357 100644 --- a/Firestore/Source/Remote/FSTExponentialBackoff.mm +++ b/Firestore/Source/Remote/FSTExponentialBackoff.mm @@ -18,11 +18,13 @@ #include <random> -#include "Firestore/src/support/secure_random.h" +#include "Firestore/core/src/firebase/firestore/util/secure_random.h" #import "Firestore/Source/Util/FSTDispatchQueue.h" #import "Firestore/Source/Util/FSTLogger.h" +using firebase::firestore::util::SecureRandom; + @interface FSTExponentialBackoff () - (instancetype)initWithDispatchQueue:(FSTDispatchQueue *)dispatchQueue initialDelay:(NSTimeInterval)initialDelay @@ -37,7 +39,7 @@ @end @implementation FSTExponentialBackoff { - firestore::SecureRandom _secureRandom; + SecureRandom _secureRandom; } - (instancetype)initWithDispatchQueue:(FSTDispatchQueue *)dispatchQueue |