Expand a bit of ownership...
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user