Просмотр исходного кода

storage: remove redundant typename keyword

Michele Caini 3 лет назад
Родитель
Сommit
3f09d47c81
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/entity/storage.hpp

+ 1 - 1
src/entt/entity/storage.hpp

@@ -1109,7 +1109,7 @@ public:
      * @return The number of elements within the newly created range.
      * @return The number of elements within the newly created range.
      */
      */
     template<typename It>
     template<typename It>
-    typename size_type pack(It first, It last) {
+    size_type pack(It first, It last) {
         size_type next = length;
         size_type next = length;
 
 
         for(; first != last; ++first, --next) {
         for(; first != last; ++first, --next) {