Get rid of default_delete

This commit is contained in:
Ilya Fedin 2021-05-13 14:34:24 +04:00 committed by John Preston
parent 17c514e851
commit 166c28c215

View file

@ -85,9 +85,8 @@ WaylandIntegration::Private::Private()
&_applicationRegistry, &_applicationRegistry,
&Registry::exporterUnstableV2Announced, &Registry::exporterUnstableV2Announced,
[=](uint name, uint version) { [=](uint name, uint version) {
_xdgExporter = { _xdgExporter = std::unique_ptr<XdgExporter>{
_applicationRegistry.createXdgExporter(name, version), _applicationRegistry.createXdgExporter(name, version),
std::default_delete<XdgExporter>(),
}; };
connect( connect(