diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-05-26 15:10:18 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-05-26 15:10:18 +0200 |
commit | fdf6026e6249f99b260f15ec672a35c7e9db950d (patch) | |
tree | c976674d75c23b8176faf232952b12ef643138dd /macosx/main.mm | |
parent | 87b1da761156ec339ab4ccd159e6ba6997f9e7d0 (diff) | |
download | qtlocation-mapboxgl-fdf6026e6249f99b260f15ec672a35c7e9db950d.tar.gz |
rename reachability on OS X as well
Diffstat (limited to 'macosx/main.mm')
-rw-r--r-- | macosx/main.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/main.mm b/macosx/main.mm index 04dac27d33..4a786f5772 100644 --- a/macosx/main.mm +++ b/macosx/main.mm @@ -2,7 +2,7 @@ #include "../platform/default/default_styles.hpp" #include <mbgl/platform/platform.hpp> #include <mbgl/platform/darwin/settings_nsuserdefaults.hpp> -#include <mbgl/platform/darwin/Reachability.h> +#include <mbgl/platform/darwin/reachability.h> #include <mbgl/platform/default/glfw_view.hpp> #include <mbgl/storage/default_file_source.hpp> #include <mbgl/storage/sqlite_cache.hpp> @@ -120,8 +120,8 @@ int main() { [appleEventManager setEventHandler:handler andSelector:@selector(handleGetURLEvent:withReplyEvent:) forEventClass:kInternetEventClass andEventID:kAEGetURL]; // Notify map object when network reachability status changes. - Reachability* reachability = [Reachability reachabilityForInternetConnection]; - reachability.reachableBlock = ^(Reachability *) { + MGLReachability* reachability = [MGLReachability reachabilityForInternetConnection]; + reachability.reachableBlock = ^(MGLReachability *) { mbgl::NetworkStatus::Reachable(); }; [reachability startNotifier]; |