Michele Caini 1 год назад
Родитель
Сommit
7d92b42d59
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/resource/cache.hpp

+ 1 - 1
src/entt/resource/cache.hpp

@@ -85,7 +85,7 @@ public:
     }
 
     [[nodiscard]] constexpr reference operator*() const noexcept {
-        return (*this)[0];
+        return operator[](0);
     }
 
     [[nodiscard]] constexpr pointer operator->() const noexcept {