diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-09-23 15:03:39 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-09-24 16:16:30 +0200 |
commit | 0fc1f6686886e1122757d5cee17e401ece8178bb (patch) | |
tree | 28c57dfa5ec3ec0df61b464465dfba04bb4f1917 | |
parent | ec3183754ead692ee40bdf2887fe65914de1ed7f (diff) | |
download | qtlocation-mapboxgl-0fc1f6686886e1122757d5cee17e401ece8178bb.tar.gz |
whitespace fixes
-rw-r--r-- | common/http_request_baton_cocoa.mm | 4 | ||||
-rw-r--r-- | include/mbgl/storage/http_request_baton.hpp | 1 | ||||
-rw-r--r-- | src/storage/http_request_baton.cpp | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/common/http_request_baton_cocoa.mm b/common/http_request_baton_cocoa.mm index eaf75ad4d1..32b824b7f4 100644 --- a/common/http_request_baton_cocoa.mm +++ b/common/http_request_baton_cocoa.mm @@ -37,8 +37,8 @@ void HTTPRequestBaton::start() { struct tm *timeinfo; char buffer[32]; const time_t modified = response->modified; - timeinfo = std::gmtime (&modified); - strftime_l(buffer, 32 ,"%a, %d %b %Y %H:%M:%S GMT", timeinfo, locale); + timeinfo = std::gmtime(&modified); + strftime_l(buffer, 32, "%a, %d %b %Y %H:%M:%S GMT", timeinfo, locale); [request addValue:@(buffer) forHTTPHeaderField:@"If-Modified-Since"]; } diff --git a/include/mbgl/storage/http_request_baton.hpp b/include/mbgl/storage/http_request_baton.hpp index 47e75a203b..b492ee0c75 100644 --- a/include/mbgl/storage/http_request_baton.hpp +++ b/include/mbgl/storage/http_request_baton.hpp @@ -47,7 +47,6 @@ struct HTTPRequestBaton { HTTPRequestBaton(); ~HTTPRequestBaton(); - const unsigned long thread_id; HTTPRequest *request = nullptr; std::string path; diff --git a/src/storage/http_request_baton.cpp b/src/storage/http_request_baton.cpp index 7130662b2b..a357bb1028 100644 --- a/src/storage/http_request_baton.cpp +++ b/src/storage/http_request_baton.cpp @@ -53,7 +53,6 @@ void HTTPRequestBaton::stop() { cancel(); } - void HTTPRequestBaton::notify(uv_async_t *async_unguarded) { // Ensure deletion of pointers. std::unique_ptr<uv_async_t, uv::deleter> async(async_unguarded); |