Start to permeate more ownership.

This commit is contained in:
2025-08-10 17:27:52 -04:00
parent 640ccd02d3
commit 82512db44a
6 changed files with 14 additions and 13 deletions

View File

@ -414,8 +414,8 @@ public:
return platform->cancelTooltip ();
}
inline Imgbuf *createImgbuf (Imgbuf::Type type, int width, int height,
double gamma)
inline std::unique_ptr< Imgbuf >
createImgbuf( Imgbuf::Type type, int width, int height, double gamma )
{
return platform->createImgbuf (type, width, height, gamma);
}