From ec055f385f39c83d1a00f720126a6d4dbb3c4822 Mon Sep 17 00:00:00 2001
From: Wolf <Wolf@vr.rwth-aachen.de>
Date: Mon, 6 Nov 2023 16:38:53 +0100
Subject: [PATCH] next replace

---
 .../Public/Events/DisplayClusterEventParameterHelper.h          | 2 +-
 Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/RWTHVRCluster/Public/Events/DisplayClusterEventParameterHelper.h b/Source/RWTHVRCluster/Public/Events/DisplayClusterEventParameterHelper.h
index 56c17d2a..85b7f8e1 100644
--- a/Source/RWTHVRCluster/Public/Events/DisplayClusterEventParameterHelper.h
+++ b/Source/RWTHVRCluster/Public/Events/DisplayClusterEventParameterHelper.h
@@ -7,7 +7,7 @@
 template <typename ParameterType, typename... RemainingParameterTypes>
 inline void SerializeParameters(FMemoryWriter* MemoryWriter, ParameterType&& Parameter, RemainingParameterTypes&&... RemainingParameters)
 { 
-	using NonConstType = typename std::remove_cv_t<typename TRemoveReference<ParameterType>::Type>::Type;
+	using NonConstType = typename std::remove_cv_t<typename TRemoveReference<ParameterType>::Type>;
 	(*MemoryWriter) << const_cast<NonConstType&>(Parameter); // const_cast because the same operator (<<) is used for reading and writing
 	SerializeParameters(MemoryWriter, Forward<RemainingParameterTypes>(RemainingParameters)...);
 }
diff --git a/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h b/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h
index e44f5de3..fec87393 100644
--- a/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h
+++ b/Source/RWTHVRCluster/Public/Events/DisplayClusterEventWrapper.h
@@ -63,7 +63,7 @@ public:
 				// Create a tuple that holds all arguments. This assumes that all
 				// argument types are default constructible. However, all
 				// types that overload the FArchive "<<" operator probably are.
-				TTuple<typename std::remove_cv_t<typename TRemoveReference<ArgTypes>::Type>::Type...> ArgumentTuple;
+				TTuple<typename std::remove_cv_t<typename TRemoveReference<ArgTypes>::Type>...> ArgumentTuple;
 
 				// This call will deserialze the values and fill all values in the tuple appropriately.
 				FillArgumentTuple<0>(&MemoryReader, &ArgumentTuple);
-- 
GitLab