Explorar o código

locator: avoid shadow warnings

Michele Caini %!s(int64=4) %!d(string=hai) anos
pai
achega
02d8cefcde
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/entt/locator/locator.hpp

+ 3 - 3
src/entt/locator/locator.hpp

@@ -117,10 +117,10 @@ public:
 
     /**
      * @brief Resets or replaces a service.
-     * @param handle Optional handle with which to replace the service.
+     * @param other Optional handle with which to replace the service.
      */
-    static void reset(const node_type &handle = {}) noexcept {
-        service = handle;
+    static void reset(const node_type &other = {}) noexcept {
+        service = other;
     }
 
 private: