From 615e0efccddd6b0737b7b77469908b855c2c1086 Mon Sep 17 00:00:00 2001
From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
Date: Sat, 1 Apr 2023 22:11:41 +0200
Subject: [PATCH] Comment 'RESTRICT' keyword

Causes compile errors in clang-cl as the functions it calls do not take a restricted pointer.
---
 r5dev/mathlib/ssequaternion.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/r5dev/mathlib/ssequaternion.h b/r5dev/mathlib/ssequaternion.h
index f72b1ec9..5cb9bc33 100644
--- a/r5dev/mathlib/ssequaternion.h
+++ b/r5dev/mathlib/ssequaternion.h
@@ -537,7 +537,7 @@ public:
 #endif
 
 	// rotate (in place) a FourVectors by this quaternion. there's a corresponding RotateBy in FourVectors.
-	FORCEINLINE void RotateFourVectors(FourVectors* RESTRICT vecs) const RESTRICT;
+	FORCEINLINE void RotateFourVectors(FourVectors* /*RESTRICT*/ vecs) const /*RESTRICT*/;
 
 
 	/// LoadAndSwizzleAligned - load 4 QuaternionAligneds into a FourQuaternions, performing transpose op.
@@ -890,7 +890,7 @@ FORCEINLINE FourQuaternions FourQuaternions::Mul(FourQuaternions const& q) const
 }
 
 
-FORCEINLINE void FourQuaternions::RotateFourVectors(FourVectors* RESTRICT vecs) const RESTRICT
+FORCEINLINE void FourQuaternions::RotateFourVectors(FourVectors* /*RESTRICT*/ vecs) const /*RESTRICT*/
 {
 	fltx4 tmpX, tmpY, tmpZ, tmpW;
 	fltx4 outX, outY, outZ;