Avoid needless ListenerList temporary

Change-Id: I0670a013136c8d8d7e7fb5caca54812f4fa490e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88422
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2020-02-11 08:23:51 +01:00
parent 63d3ac3786
commit ff49c04a47

View File

@@ -46,7 +46,7 @@ void ConfigurationControllerBroadcaster::AddListener(
mxConfigurationController,
0);
maListenerMap.try_emplace(rsEventType, ListenerList());
maListenerMap.try_emplace(rsEventType);
ListenerDescriptor aDescriptor;
aDescriptor.mxListener = rxListener;