1
0
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:
Aaron van Geffen
2024-11-29 12:04:56 +09:00
committed by GitHub
parent c8388002d9
commit 3685d1a24b
173 changed files with 1636 additions and 1636 deletions

View File

@@ -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);