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
|
|
@ -73,7 +73,7 @@ bool InterprocessConnection::connectToPipe (const String& pipeName, const int ti
|
|||
{
|
||||
disconnect();
|
||||
|
||||
ScopedPointer<NamedPipe> newPipe (new NamedPipe());
|
||||
std::unique_ptr<NamedPipe> newPipe (new NamedPipe());
|
||||
|
||||
if (newPipe->openExisting (pipeName))
|
||||
{
|
||||
|
|
@ -90,7 +90,7 @@ bool InterprocessConnection::createPipe (const String& pipeName, const int timeo
|
|||
{
|
||||
disconnect();
|
||||
|
||||
ScopedPointer<NamedPipe> newPipe (new NamedPipe());
|
||||
std::unique_ptr<NamedPipe> newPipe (new NamedPipe());
|
||||
|
||||
if (newPipe->createNewPipe (pipeName, mustNotExist))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue