1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +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 @@
#ifdef ENABLE_SCRIPTING
# include "Plugin.h"
#include "Plugin.h"
# include "../Diagnostic.h"
# include "../OpenRCT2.h"
# include "../core/File.h"
# include "Duktape.hpp"
# include "ScriptEngine.h"
#include "../Diagnostic.h"
#include "../OpenRCT2.h"
#include "../core/File.h"
#include "Duktape.hpp"
#include "ScriptEngine.h"
# include <fstream>
# include <memory>
#include <fstream>
#include <memory>
using namespace OpenRCT2::Scripting;
@@ -122,15 +122,15 @@ void Plugin::ThrowIfStopping() const
void Plugin::Unload()
{
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105937, fixed in GCC13
# if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
# endif
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105937, fixed in GCC13
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
_metadata.Main = {};
# if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic pop
# endif
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
#endif
_hasLoaded = false;
}