diff --git a/code/espurna/ws.ino b/code/espurna/ws.ino index 39f1b865..4ed0a899 100644 --- a/code/espurna/ws.ino +++ b/code/espurna/ws.ino @@ -411,7 +411,7 @@ void _wsStart(uint32_t client_id) { return; } - for (auto callback : _ws_on_send_callbacks) { + for (auto& callback : _ws_on_send_callbacks) { callback(root); }