From 93bf122adb7f6f0226037857846d3a90d3f7a411 Mon Sep 17 00:00:00 2001 From: Outer Cloud Studio Date: Sun, 7 Apr 2024 10:57:23 -0500 Subject: [PATCH] Fix decltype --- .../src/minecraft/src-deps/core/debug/log/ContentLog.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp b/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp index febb1a1f..2f75ce68 100644 --- a/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp +++ b/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp @@ -12,7 +12,7 @@ class ContentLog { template int Log(bool doNotRepeat, LogLevel logLevel, LogArea logArea, Strings... strings) { - using function = decltype(&ContentLog::Log); + using function = int (ContentLog::*)(bool, LogLevel, LogArea, Strings...); auto func = std::bit_cast(SigScan("44 89 4C 24 ? 48 83 EC")); return (this->*func)(doNotRepeat, logLevel, logArea, strings...); }