aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2023-02-14 15:04:42 +0100
committerGitHub <noreply@github.com>2023-02-14 14:04:42 +0000
commit9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 (patch)
treedcddfc464a83211a6922a3b2a43ded293b4303b9 /NorthstarDLL/logging
parent95b41b6f8cc612953eafd7f8b6b40124e1590bc7 (diff)
downloadNorthstarLauncher-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/logging')
-rw-r--r--NorthstarDLL/logging/crashhandler.cpp1
-rw-r--r--NorthstarDLL/logging/logging.cpp1
-rw-r--r--NorthstarDLL/logging/logging.h1
-rw-r--r--NorthstarDLL/logging/loghooks.cpp1
-rw-r--r--NorthstarDLL/logging/sourceconsole.cpp1
-rw-r--r--NorthstarDLL/logging/sourceconsole.h1
6 files changed, 0 insertions, 6 deletions
diff --git a/NorthstarDLL/logging/crashhandler.cpp b/NorthstarDLL/logging/crashhandler.cpp
index 1e9bf4b3..5d120d1f 100644
--- a/NorthstarDLL/logging/crashhandler.cpp
+++ b/NorthstarDLL/logging/crashhandler.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "crashhandler.h"
#include "dedicated/dedicated.h"
#include "config/profile.h"
diff --git a/NorthstarDLL/logging/logging.cpp b/NorthstarDLL/logging/logging.cpp
index 8b906911..f88928e1 100644
--- a/NorthstarDLL/logging/logging.cpp
+++ b/NorthstarDLL/logging/logging.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "logging.h"
#include "core/convar/convar.h"
#include "core/convar/concommand.h"
diff --git a/NorthstarDLL/logging/logging.h b/NorthstarDLL/logging/logging.h
index 2cccdde6..1cfc6644 100644
--- a/NorthstarDLL/logging/logging.h
+++ b/NorthstarDLL/logging/logging.h
@@ -1,5 +1,4 @@
#pragma once
-#include "pch.h"
#include "spdlog/sinks/base_sink.h"
#include "spdlog/logger.h"
#include "squirrel/squirrel.h"
diff --git a/NorthstarDLL/logging/loghooks.cpp b/NorthstarDLL/logging/loghooks.cpp
index d09f23cc..805a5125 100644
--- a/NorthstarDLL/logging/loghooks.cpp
+++ b/NorthstarDLL/logging/loghooks.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "logging.h"
#include "loghooks.h"
#include "core/convar/convar.h"
diff --git a/NorthstarDLL/logging/sourceconsole.cpp b/NorthstarDLL/logging/sourceconsole.cpp
index 775caa49..16080794 100644
--- a/NorthstarDLL/logging/sourceconsole.cpp
+++ b/NorthstarDLL/logging/sourceconsole.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "core/convar/convar.h"
#include "sourceconsole.h"
#include "core/sourceinterface.h"
diff --git a/NorthstarDLL/logging/sourceconsole.h b/NorthstarDLL/logging/sourceconsole.h
index cf7027df..3abcc470 100644
--- a/NorthstarDLL/logging/sourceconsole.h
+++ b/NorthstarDLL/logging/sourceconsole.h
@@ -1,5 +1,4 @@
#pragma once
-#include "pch.h"
#include "core/sourceinterface.h"
#include "spdlog/sinks/base_sink.h"
#include <map>