From f77a2bbef07f5141b5ef4df8d7018e2f70d4e486 Mon Sep 17 00:00:00 2001
From: Fan <fan_hu@pku.edu.cn>
Date: Wed, 1 Dec 2021 12:59:37 +0800
Subject: [PATCH] revoce changes on SecondaryView.hpp

---
 corsika/framework/stack/SecondaryView.hpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/corsika/framework/stack/SecondaryView.hpp b/corsika/framework/stack/SecondaryView.hpp
index a51538d58..1a58b219a 100644
--- a/corsika/framework/stack/SecondaryView.hpp
+++ b/corsika/framework/stack/SecondaryView.hpp
@@ -88,9 +88,9 @@ namespace corsika {
                                    inner_stack_value_type>
         stack_value_iterator;
 
-    typedef ConstStackIteratorInterface<std::remove_reference_t<TStackDataType>,
-                                        TParticleInterface, MSecondaryProducer,
-                                        inner_stack_value_type>
+    typedef ConstStackIteratorInterface<
+        std::remove_reference_t<TStackDataType>, TParticleInterface,
+        MSecondaryProducer, inner_stack_value_type>
         const_stack_value_iterator;
     /// @}
 
@@ -98,10 +98,10 @@ namespace corsika {
                                    TParticleInterface, MSecondaryProducer, view_type>
         stack_view_iterator;
 
-    typedef ConstStackIteratorInterface<std::remove_reference_t<TStackDataType>,
-                                        TParticleInterface, MSecondaryProducer, view_type>
+    typedef ConstStackIteratorInterface<
+        typename std::remove_reference<TStackDataType>::type, TParticleInterface,
+        MSecondaryProducer, view_type>
         const_stack_view_iterator;
-
     /**
      * this is the full type of the declared TParticleInterface:
      */
-- 
GitLab