Browse Source

any: reduce direct uses of descriptor

skypjack 5 months ago
parent
commit
ba0e9fab45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/core/any.hpp

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

@@ -329,7 +329,7 @@ public:
      * otherwise.
      */
     [[nodiscard]] bool has_value(const type_info &req) const noexcept {
-        return (descriptor() == req);
+        return (info() == req);
     }
 
     /**