Expand a bit of ownership...

This commit is contained in:
2025-04-18 18:31:23 -04:00
parent dfa19f03cd
commit b1ac6cde6d
4 changed files with 7 additions and 5 deletions

View File

@ -777,9 +777,9 @@ void FltkComplexButtonResource::widgetCallback (Fl_Widget *widget,
}
}
dw::core::Platform *FltkComplexButtonResource::createPlatform ()
std::unique_ptr< dw::core::Platform > FltkComplexButtonResource::createPlatform ()
{
return new FltkPlatform ();
return std::make_unique< FltkPlatform >();
}
void FltkComplexButtonResource::attachView (FltkView *view)