Skip to content

Commit

Permalink
fix: avoid copy in structured binding in dummy.cpp testLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Nov 24, 2023
1 parent 86c7a16 commit 4145335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/algorithms/core/src/dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class testLogger : public LoggerMixin {

std::cout << std::endl;
info() << "Checking the existing services:" << endmsg;
for (const auto [key, value] : ServiceSvc::instance().services()) {
for (const auto& [key, value] : ServiceSvc::instance().services()) {
info() << " - " << key << endmsg;
}
}
Expand Down

0 comments on commit 4145335

Please sign in to comment.