locator: avoid shadow warnings

This commit is contained in:
Michele Caini
2022-08-29 11:48:17 +02:00
parent f627593d63
commit 02d8cefcde

View File

@@ -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: