Move setReachability to CachingHTTPFileSource

This commit is contained in:
John Firebaugh
2014-12-04 15:10:27 -08:00
parent 9aff2c386c
commit 16fe8e64c4
7 changed files with 15 additions and 26 deletions

View File

@@ -286,15 +286,6 @@ void Map::terminate() {
painter->terminate();
}
void Map::setReachability(bool reachable) {
// Note: This function may be called from *any* thread.
if (reachable) {
fileSource.prepare([&]() {
fileSource.retryAllPending();
});
}
}
#pragma mark - Setup
void Map::setup() {