diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2024-07-10 15:13:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 15:13:52 +0200 |
commit | 2cd78297274e1173d64f8f6e78383bfd6da88c7e (patch) | |
tree | b7ea49db5ba672e125fc7cc5dacff66db4c3dc45 /primedev/plugins | |
parent | acdfefdc335d5c7817c52986103d0ef2ce522ec9 (diff) | |
download | NorthstarLauncher-1.26.3.tar.gz NorthstarLauncher-1.26.3.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/plugins')
-rw-r--r-- | primedev/plugins/pluginmanager.cpp | 2 | ||||
-rw-r--r-- | primedev/plugins/pluginmanager.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/primedev/plugins/pluginmanager.cpp b/primedev/plugins/pluginmanager.cpp index 718e6956..14d5692b 100644 --- a/primedev/plugins/pluginmanager.cpp +++ b/primedev/plugins/pluginmanager.cpp @@ -5,6 +5,8 @@ #include "config/profile.h" #include "core/convar/concommand.h" +namespace fs = std::filesystem; + PluginManager* g_pPluginManager; const std::vector<Plugin>& PluginManager::GetLoadedPlugins() const diff --git a/primedev/plugins/pluginmanager.h b/primedev/plugins/pluginmanager.h index 8c021851..7993cbb8 100644 --- a/primedev/plugins/pluginmanager.h +++ b/primedev/plugins/pluginmanager.h @@ -3,6 +3,8 @@ #include <windows.h> +namespace fs = std::filesystem; + class Plugin; class PluginManager |