1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-06 04:00:08 +00:00

More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it

This commit is contained in:
jules 2019-05-16 15:37:40 +01:00
parent a2017062f5
commit a97c4a9139
28 changed files with 118 additions and 116 deletions

View file

@ -40,7 +40,7 @@ struct LogoComponent : public Component
LogoComponent()
{
if (auto svg = parseXML (BinaryData::background_logo_svg))
logo.reset (Drawable::createFromSVG (*svg));
logo = Drawable::createFromSVG (*svg);
else
jassertfalse;
}