diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-11 09:21:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-14 10:00:43 +0200 |
commit | bcb5756cb0997923ea565459440767e22ce34e7d (patch) | |
tree | 11c55ec2f41696bbe8b0204e90aa88fd9d74f3c6 /include/vcl/vclevent.hxx | |
parent | 8f2aace934eb2a91a273b6104de6383108b5c82a (diff) |
list->vector
since we are copying these before iterating over them, we don't need the
iterator guarantees of std::list
Change-Id: I9cb2048e1527f37104c3077e69b5f3b827f08c7b
Diffstat (limited to 'include/vcl/vclevent.hxx')
-rw-r--r-- | include/vcl/vclevent.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx index 982958c419ae..f9e8b51564e0 100644 --- a/include/vcl/vclevent.hxx +++ b/include/vcl/vclevent.hxx @@ -259,7 +259,7 @@ public: void addListener( const Link<>& rListener ); void removeListener( const Link<>& rListener ); private: - std::list<Link<>> m_aListeners; + std::vector<Link<>> m_aListeners; }; class VCL_DLLPUBLIC VclEventListeners2 : public vcl::DeletionNotifier |