summaryrefslogtreecommitdiff
path: root/vcl/inc/impdel.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/impdel.hxx')
-rw-r--r--vcl/inc/impdel.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/impdel.hxx b/vcl/inc/impdel.hxx
index 62925c24a427..b387c34a0974 100644
--- a/vcl/inc/impdel.hxx
+++ b/vcl/inc/impdel.hxx
@@ -44,7 +44,7 @@ class DeletionNotifier
{ m_aListeners.push_back( pListener ); }
void removeDel( DeletionListener* pListener )
- { m_aListeners.erase(std::remove(m_aListeners.begin(), m_aListeners.end(), pListener), m_aListeners.end()); }
+ { std::erase(m_aListeners, pListener); }
};
class DeletionListener