mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Replaced all usage of ScopedPointer with std::unique_ptr
This commit is contained in:
parent
e6104e3fed
commit
ab863a6dc2
401 changed files with 1091 additions and 1113 deletions
|
|
@ -1529,7 +1529,7 @@ const uint8 clion[] = { 110,109,0,0,0,0,0,0,0,0,98,0,0,0,0,170,170,38,67,0,0,0,0
|
|||
XmlElement* path = svg.createNewChildElement ("path");
|
||||
path->setAttribute ("d", pathString);
|
||||
|
||||
ScopedPointer<Drawable> d (Drawable::createFromSVG (svg));
|
||||
std::unique_ptr<Drawable> d (Drawable::createFromSVG (svg));
|
||||
DrawablePath* dp = dynamic_cast<DrawablePath*> (d->getChildComponent(0));
|
||||
jassert (dp != nullptr);
|
||||
Path p (dp->getPath());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue