diff options
author | p0358 <p0358@users.noreply.github.com> | 2023-02-14 15:04:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 14:04:42 +0000 |
commit | 9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 (patch) | |
tree | dcddfc464a83211a6922a3b2a43ded293b4303b9 /NorthstarDLL/server | |
parent | 95b41b6f8cc612953eafd7f8b6b40124e1590bc7 (diff) | |
download | NorthstarLauncher-9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54.tar.gz NorthstarLauncher-9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54.zip |
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
Diffstat (limited to 'NorthstarDLL/server')
-rw-r--r-- | NorthstarDLL/server/auth/bansystem.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/server/auth/serverauthentication.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/server/buildainfile.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/server/r2server.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/server/serverchathooks.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/server/serverchathooks.h | 1 | ||||
-rw-r--r-- | NorthstarDLL/server/serverpresence.cpp | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/NorthstarDLL/server/auth/bansystem.cpp b/NorthstarDLL/server/auth/bansystem.cpp index 47df495d..a438450f 100644 --- a/NorthstarDLL/server/auth/bansystem.cpp +++ b/NorthstarDLL/server/auth/bansystem.cpp @@ -1,5 +1,4 @@ #pragma once -#include "pch.h" #include "bansystem.h" #include "serverauthentication.h" #include "core/convar/concommand.h" diff --git a/NorthstarDLL/server/auth/serverauthentication.cpp b/NorthstarDLL/server/auth/serverauthentication.cpp index 2f06f60f..72f21d51 100644 --- a/NorthstarDLL/server/auth/serverauthentication.cpp +++ b/NorthstarDLL/server/auth/serverauthentication.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "serverauthentication.h" #include "shared/exploit_fixes/ns_limits.h" #include "core/convar/cvar.h" diff --git a/NorthstarDLL/server/buildainfile.cpp b/NorthstarDLL/server/buildainfile.cpp index d1150a6b..848d8569 100644 --- a/NorthstarDLL/server/buildainfile.cpp +++ b/NorthstarDLL/server/buildainfile.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/convar/convar.h" #include "engine/hoststate.h" #include "engine/r2engine.h" diff --git a/NorthstarDLL/server/r2server.cpp b/NorthstarDLL/server/r2server.cpp index 50cfa239..a8aa84ce 100644 --- a/NorthstarDLL/server/r2server.cpp +++ b/NorthstarDLL/server/r2server.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "r2server.h" using namespace R2; diff --git a/NorthstarDLL/server/serverchathooks.cpp b/NorthstarDLL/server/serverchathooks.cpp index 0ea3c2d2..96765697 100644 --- a/NorthstarDLL/server/serverchathooks.cpp +++ b/NorthstarDLL/server/serverchathooks.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "serverchathooks.h" #include "shared/exploit_fixes/ns_limits.h" #include "squirrel/squirrel.h" diff --git a/NorthstarDLL/server/serverchathooks.h b/NorthstarDLL/server/serverchathooks.h index 1d8a806a..8fda3cec 100644 --- a/NorthstarDLL/server/serverchathooks.h +++ b/NorthstarDLL/server/serverchathooks.h @@ -1,5 +1,4 @@ #pragma once -#include "pch.h" #include <rapidjson/document.h> #include <rapidjson/stringbuffer.h> diff --git a/NorthstarDLL/server/serverpresence.cpp b/NorthstarDLL/server/serverpresence.cpp index bda5e7fe..072ef347 100644 --- a/NorthstarDLL/server/serverpresence.cpp +++ b/NorthstarDLL/server/serverpresence.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "serverpresence.h" #include "shared/playlist.h" #include "core/tier0.h" |