diff --git a/src/entt/locator/locator.hpp b/src/entt/locator/locator.hpp index 4a3effa5e..af241aa88 100644 --- a/src/entt/locator/locator.hpp +++ b/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: