aboutsummaryrefslogtreecommitdiff
path: root/primedev/client
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-07-10 15:13:52 +0200
committerGitHub <noreply@github.com>2024-07-10 15:13:52 +0200
commit2cd78297274e1173d64f8f6e78383bfd6da88c7e (patch)
treeb7ea49db5ba672e125fc7cc5dacff66db4c3dc45 /primedev/client
parentacdfefdc335d5c7817c52986103d0ef2ce522ec9 (diff)
downloadNorthstarLauncher-1.26.4-rc2.tar.gz
NorthstarLauncher-1.26.4-rc2.zip
Define `fs` alias in source file where used (#747)v1.26.4-rc2v1.26.4-rc1v1.26.3-rc3v1.26.3-rc2v1.26.3
for filesystem namespace instead of relying on implicit include Co-authored-by: Jan <sentrycraft123@gmail.com>
Diffstat (limited to 'primedev/client')
-rw-r--r--primedev/client/audio.cpp2
-rw-r--r--primedev/client/audio.h2
-rw-r--r--primedev/client/languagehooks.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/primedev/client/audio.cpp b/primedev/client/audio.cpp
index e5989f5c..63501414 100644
--- a/primedev/client/audio.cpp
+++ b/primedev/client/audio.cpp
@@ -9,6 +9,8 @@
#include <random>
#include <ranges>
+namespace fs = std::filesystem;
+
AUTOHOOK_INIT()
static const char* pszAudioEventName;
diff --git a/primedev/client/audio.h b/primedev/client/audio.h
index 7cd0ddd1..22bcf3f0 100644
--- a/primedev/client/audio.h
+++ b/primedev/client/audio.h
@@ -5,6 +5,8 @@
#include <regex>
#include <shared_mutex>
+namespace fs = std::filesystem;
+
enum class AudioSelectionStrategy
{
INVALID = -1,
diff --git a/primedev/client/languagehooks.cpp b/primedev/client/languagehooks.cpp
index 0146d1d4..36b5d5ae 100644
--- a/primedev/client/languagehooks.cpp
+++ b/primedev/client/languagehooks.cpp
@@ -3,6 +3,8 @@
#include <filesystem>
#include <regex>
+namespace fs = std::filesystem;
+
AUTOHOOK_INIT()
typedef LANGID (*Tier0_DetectDefaultLanguageType)();