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

algorithm: use std::identity instead of entt::identity

skypjack 3 месяцев назад
Родитель
Сommit
5ce5968d44
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/core/algorithm.hpp

+ 1 - 1
src/entt/core/algorithm.hpp

@@ -94,7 +94,7 @@ struct radix_sort {
      * @param last An iterator past the last element of the range to sort.
      * @param getter A valid _getter_ function object.
      */
-    template<typename It, typename Getter = identity>
+    template<typename It, typename Getter = std::identity>
     void operator()(It first, It last, Getter getter = Getter{}) const {
         if(first < last) {
             constexpr auto passes = N / Bit;