cid#321976 AUTO_CAUSES_COPY
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I2207cc530e1773f29cf540ea2ff9c6f44c4c237b
This commit is contained in:
parent
5dcce1965e
commit
1cd88f217e
1 changed files with 1 additions and 1 deletions
|
@ -1055,7 +1055,7 @@ std::vector<std::pair<std::string, int>> Admin::getMonitorList()
|
|||
void Admin::startMonitors()
|
||||
{
|
||||
bool haveMonitors = false;
|
||||
for (auto monitor : getMonitorList())
|
||||
for (const auto& monitor : getMonitorList())
|
||||
{
|
||||
addCallback(
|
||||
[=]
|
||||
|
|
Loading…
Reference in a new issue