From 9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 Mon Sep 17 00:00:00 2001 From: p0358 Date: Tue, 14 Feb 2023 15:04:42 +0100 Subject: Force-include `pch.h` to all files, remove explicit includes (#393) * force-include "pch.h" in all units, as it will error if it's not included anyways * remove #include "pch.h" from all files as it's not needed anymore now * fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error) * Re-add explicit pch.h include to pch.cpp (and ran clang-format) * drop pch.h inclusion from new files --- NorthstarDLL/squirrel/squirrel.cpp | 1 - NorthstarDLL/squirrel/squirrelautobind.cpp | 1 - NorthstarDLL/squirrel/squirrelclasstypes.h | 1 - 3 files changed, 3 deletions(-) (limited to 'NorthstarDLL/squirrel') diff --git a/NorthstarDLL/squirrel/squirrel.cpp b/NorthstarDLL/squirrel/squirrel.cpp index 25fb90d5..4cf342db 100644 --- a/NorthstarDLL/squirrel/squirrel.cpp +++ b/NorthstarDLL/squirrel/squirrel.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "squirrel.h" #include "logging/logging.h" #include "core/convar/concommand.h" diff --git a/NorthstarDLL/squirrel/squirrelautobind.cpp b/NorthstarDLL/squirrel/squirrelautobind.cpp index d5f42477..c15240f5 100644 --- a/NorthstarDLL/squirrel/squirrelautobind.cpp +++ b/NorthstarDLL/squirrel/squirrelautobind.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "squirrelautobind.h" SquirrelAutoBindContainer* g_pSqAutoBindContainer; diff --git a/NorthstarDLL/squirrel/squirrelclasstypes.h b/NorthstarDLL/squirrel/squirrelclasstypes.h index efc80f15..68b57bae 100644 --- a/NorthstarDLL/squirrel/squirrelclasstypes.h +++ b/NorthstarDLL/squirrel/squirrelclasstypes.h @@ -1,5 +1,4 @@ #pragma once -#include "pch.h" #include "squirreldatatypes.h" #include -- cgit v1.2.3