mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
More ScopedPointer/unique_ptr compatibility work
This commit is contained in:
parent
48a5fbd333
commit
1a60fa9765
80 changed files with 404 additions and 368 deletions
|
|
@ -1118,7 +1118,7 @@ private:
|
|||
[req addValue: juceStringToNS (value) forHTTPHeaderField: juceStringToNS (key)];
|
||||
}
|
||||
|
||||
connection = new URLConnectionState (req, numRedirectsToFollow);
|
||||
connection.reset (new URLConnectionState (req, numRedirectsToFollow));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1257,7 +1257,7 @@ bool ChildProcess::start (const StringArray& args, int streamFlags)
|
|||
if (args.size() == 0)
|
||||
return false;
|
||||
|
||||
activeProcess = new ActiveProcess (args, streamFlags);
|
||||
activeProcess.reset (new ActiveProcess (args, streamFlags));
|
||||
|
||||
if (activeProcess->childPID == 0)
|
||||
activeProcess.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue