diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 17:00:53 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-11 19:37:24 -0400 |
commit | 021e5d79aaacda9a107829c1c58750c85159dfaa (patch) | |
tree | c162bf17180d56b88774011b270b1ea9137fd332 /src/server/events | |
parent | 932c0db65e54d24cbc9131e00412a7f0a8f2bcd2 (diff) | |
download | ingen-021e5d79aaacda9a107829c1c58750c85159dfaa.tar.gz ingen-021e5d79aaacda9a107829c1c58750c85159dfaa.tar.bz2 ingen-021e5d79aaacda9a107829c1c58750c85159dfaa.zip |
Fix confusing iteration over collections of pointers
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/DisconnectAll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index e429e0e6..4ca6c8d6 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -68,7 +68,7 @@ DisconnectAll::DisconnectAll(Engine& engine, DisconnectAll::~DisconnectAll() { - for (auto& i : _impls) { + for (auto* i : _impls) { delete i; } } |