mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
clang-format: change IndentPPDirectives to BeforeHash (#23287)
This commit is contained in:
@@ -9,16 +9,16 @@
|
||||
|
||||
#if !defined(DISABLE_HTTP) && defined(_WIN32)
|
||||
|
||||
# include "Http.h"
|
||||
#include "Http.h"
|
||||
|
||||
# include "../Version.h"
|
||||
# include "../core/Console.hpp"
|
||||
# include "String.hpp"
|
||||
#include "../Version.h"
|
||||
#include "../core/Console.hpp"
|
||||
#include "String.hpp"
|
||||
|
||||
# include <cstdio>
|
||||
# include <stdexcept>
|
||||
# include <windows.h>
|
||||
# include <winhttp.h>
|
||||
#include <cstdio>
|
||||
#include <stdexcept>
|
||||
#include <windows.h>
|
||||
#include <winhttp.h>
|
||||
|
||||
namespace OpenRCT2::Http
|
||||
{
|
||||
@@ -226,9 +226,9 @@ namespace OpenRCT2::Http
|
||||
}
|
||||
catch ([[maybe_unused]] const std::exception& e)
|
||||
{
|
||||
# ifdef DEBUG
|
||||
#ifdef DEBUG
|
||||
Console::Error::WriteLine("HTTP request failed: %s", e.what());
|
||||
# endif
|
||||
#endif
|
||||
WinHttpCloseHandle(hSession);
|
||||
WinHttpCloseHandle(hConnect);
|
||||
WinHttpCloseHandle(hRequest);
|
||||
|
||||
Reference in New Issue
Block a user