LINT fix
authorLoic Blot <loic.blot@unix-experience.fr>
Sun, 23 Apr 2017 08:24:00 +0000 (10:24 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Sun, 23 Apr 2017 08:24:00 +0000 (10:24 +0200)
src/httpfetch.h
util/travis/clang-format-whitelist.txt

index d64b80b66b4c37abb961d2d3bc08c4d03bd7608e..29fb540d022f0755baca593a6644170321ff5f82 100644 (file)
@@ -61,7 +61,7 @@ struct HTTPFetchRequest
        // If not empty, should contain entries such as "Accept: text/html"
        std::vector<std::string> extra_headers;
 
-       //useragent to use
+       // useragent to use
        std::string useragent;
 
        HTTPFetchRequest();
@@ -77,24 +77,17 @@ struct HTTPFetchResult
        unsigned long caller;
        unsigned long request_id;
 
-       HTTPFetchResult() :
-               succeeded(false),
-               timeout(false),
-               response_code(0),
-               data(""),
-               caller(HTTPFETCH_DISCARD),
-               request_id(0)
-       {}
-
-       HTTPFetchResult(const HTTPFetchRequest &fetch_request) :
-               succeeded(false),
-               timeout(false),
-               response_code(0),
-               data(""),
-               caller(fetch_request.caller),
-               request_id(fetch_request.request_id)
-       {}
-
+       HTTPFetchResult()
+           : succeeded(false), timeout(false), response_code(0), data(""),
+             caller(HTTPFETCH_DISCARD), request_id(0)
+       {
+       }
+
+       HTTPFetchResult(const HTTPFetchRequest &fetch_request)
+           : succeeded(false), timeout(false), response_code(0), data(""),
+             caller(fetch_request.caller), request_id(fetch_request.request_id)
+       {
+       }
 };
 
 // Initializes the httpfetch module
@@ -124,8 +117,6 @@ void httpfetch_caller_free(unsigned long caller);
 
 // Performs a synchronous HTTP request. This blocks and therefore should
 // only be used from background threads.
-void httpfetch_sync(const HTTPFetchRequest &fetch_request,
-               HTTPFetchResult &fetch_result);
-
+void httpfetch_sync(const HTTPFetchRequest &fetch_request, HTTPFetchResult &fetch_result);
 
 #endif // !HTTPFETCH_HEADER
index b422915528e4c58c78d5e0573d0c84946d8e8308..e9ff56cf583e1895edc420e1aa74784cec0a9044 100644 (file)
@@ -39,6 +39,7 @@ src/content_cao.h
 src/content_cso.cpp
 src/content_cso.h
 src/content_mapblock.cpp
+src/content_mapblock.h
 src/content_mapnode.cpp
 src/content_nodemeta.cpp
 src/content_nodemeta.h
@@ -147,6 +148,7 @@ src/map_settings_manager.cpp
 src/map_settings_manager.h
 src/mesh.cpp
 src/mesh.h
+src/mesh_generator_thread.cpp
 src/metadata.h
 src/mg_biome.cpp
 src/mg_biome.h