And it is better to use as

    for (auto &listener : _listeners)