diff --git a/headers/private/shared/Geolocation.h b/headers/private/shared/Geolocation.h index 8641a54cf0..b458f9e735 100644 --- a/headers/private/shared/Geolocation.h +++ b/headers/private/shared/Geolocation.h @@ -22,7 +22,7 @@ public: private: BUrl fService; - static const BUrl kDefaultService; + static const char* kDefaultService; }; diff --git a/src/kits/network/libnetapi/Geolocation.cpp b/src/kits/network/libnetapi/Geolocation.cpp index 53a84a5a01..c80411138f 100644 --- a/src/kits/network/libnetapi/Geolocation.cpp +++ b/src/kits/network/libnetapi/Geolocation.cpp @@ -140,5 +140,4 @@ BGeolocation::LocateSelf(float& latitude, float& longitude) // FIXME switch to an openly available service that will actually work with the // "standard" geolocation API. Openbmap has a few variations. -const BUrl BGeolocation::kDefaultService = BUrl( - "http://openbmap.org/api/json.php5"); +const char* BGeolocation::kDefaultService = "http://openbmap.org/api/json.php5";