Browse Source

locator: avoid shadow warnings

Michele Caini 3 years ago
parent
commit
02d8cefcde
1 changed files with 3 additions and 3 deletions
  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: