From 5ce8343bcced9e92ab2b3c1b80382cffa0281629 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Mon, 9 May 2022 20:23:16 +0100 Subject: use lambdas for dll load callbacks so intellisense shits itself less --- NorthstarDedicatedTest/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NorthstarDedicatedTest/filesystem.cpp') diff --git a/NorthstarDedicatedTest/filesystem.cpp b/NorthstarDedicatedTest/filesystem.cpp index f53f4b9e..3410bdd4 100644 --- a/NorthstarDedicatedTest/filesystem.cpp +++ b/NorthstarDedicatedTest/filesystem.cpp @@ -34,7 +34,7 @@ bool readingOriginalFile; std::string currentModPath; SourceInterface* g_Filesystem; -ON_DLL_LOAD("filesystem_stdio.dll", Filesystem, (HMODULE baseAddress) +ON_DLL_LOAD("filesystem_stdio.dll", Filesystem, [](HMODULE baseAddress) { g_Filesystem = new SourceInterface("filesystem_stdio.dll", "VFileSystem017"); -- cgit v1.2.3