From 12997f4325bdb921c6d414ddecbfa55ae738dd07 Mon Sep 17 00:00:00 2001 From: noah the goodra Date: Thu, 30 Nov 2023 12:59:36 -0600 Subject: [PATCH] replace define with using --- Sources/Tools/MaxMain/MaxCompat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tools/MaxMain/MaxCompat.h b/Sources/Tools/MaxMain/MaxCompat.h index 6e05f9546c..91f00ef835 100644 --- a/Sources/Tools/MaxMain/MaxCompat.h +++ b/Sources/Tools/MaxMain/MaxCompat.h @@ -295,7 +295,7 @@ class plMaxObject : public plMaxAnimatable // In newer versions of the sdk Progress returns an enum value of KeyReduceResult #if MAX_VERSION_MAJOR <= 25 # define BIPDRIVEN_CONTROL_CLASS_ID BIPSLAVE_CONTROL_CLASS_ID -# define KeyReduceResult int + using KeyReduceResult = int; #endif // Special 3ds Max message box support added in 2021 for HiDPI