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:
parent
a2017062f5
commit
a97c4a9139
28 changed files with 118 additions and 116 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue