1
0
Эх сурвалжийг харах

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

skypjack 5 сар өмнө
parent
commit
5ce5968d44

+ 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 last An iterator past the last element of the range to sort.
      * @param getter A valid _getter_ function object.
      * @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 {
     void operator()(It first, It last, Getter getter = Getter{}) const {
         if(first < last) {
         if(first < last) {
             constexpr auto passes = N / Bit;
             constexpr auto passes = N / Bit;