summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink/process_spawn.cc
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2021-02-18 12:22:31 +0100
committerRazvan Becheriu <razvan@isc.org>2021-02-18 18:23:57 +0100
commita4c30c291b1dfd2e253cf2f6d5f652c8c4de3ffc (patch)
treee53700768a1c1b573f4acd72636d79151ed121f0 /src/lib/asiolink/process_spawn.cc
parent[#899] fixed unittests (diff)
downloadkea-a4c30c291b1dfd2e253cf2f6d5f652c8c4de3ffc.tar.xz
kea-a4c30c291b1dfd2e253cf2f6d5f652c8c4de3ffc.zip
[#899] added more unittests
Diffstat (limited to 'src/lib/asiolink/process_spawn.cc')
-rw-r--r--src/lib/asiolink/process_spawn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asiolink/process_spawn.cc b/src/lib/asiolink/process_spawn.cc
index f739f1bd6a..3ccea308eb 100644
--- a/src/lib/asiolink/process_spawn.cc
+++ b/src/lib/asiolink/process_spawn.cc
@@ -303,7 +303,7 @@ bool
ProcessSpawnImpl::isAnyRunning() const {
lock_guard<std::mutex> lk(mutex_);
if (process_collection_.find(this) != process_collection_.end()) {
- for (auto& proc : process_collection_[this]) {
+ for (auto const& proc : process_collection_[this]) {
if (proc.second->running_) {
return (true);
}