From b8b283588f59db539715217aba164a380e053ea5 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 7 Mar 2016 22:10:41 -0300 Subject: [core] Remove goOffline() from DefaultFileSource Use the newly added NetworkStatus::Set(). --- include/mbgl/storage/default_file_source.hpp | 1 - include/mbgl/storage/network_status.hpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include/mbgl/storage') diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp index 93d6297651..dd67cff9b8 100644 --- a/include/mbgl/storage/default_file_source.hpp +++ b/include/mbgl/storage/default_file_source.hpp @@ -102,7 +102,6 @@ public: // For testing only. void put(const Resource&, const Response&); - void goOffline(); class Impl; diff --git a/include/mbgl/storage/network_status.hpp b/include/mbgl/storage/network_status.hpp index 4202793661..d5ea13e07e 100644 --- a/include/mbgl/storage/network_status.hpp +++ b/include/mbgl/storage/network_status.hpp @@ -18,8 +18,8 @@ public: Offline, }; - Status Get(); - void Set(Status); + static Status Get(); + static void Set(Status); static void Reachable(); -- cgit v1.2.1