1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Replaced all usage of ScopedPointer with std::unique_ptr

This commit is contained in:
Tom Poole 2018-04-19 15:55:04 +01:00
parent e6104e3fed
commit ab863a6dc2
401 changed files with 1091 additions and 1113 deletions

View file

@ -208,7 +208,7 @@ public:
CompileEngineDLL dll;
LiveCodeBuilder liveCodeBuilder;
ScopedPointer<ZombiePatrol> zombieKiller;
std::unique_ptr<ZombiePatrol> zombieKiller;
};
//==============================================================================
@ -259,7 +259,7 @@ void* createClangServer (const String& commandLine)
StringArray info;
info.addTokens (commandLine.fromFirstOccurrenceOf (commandPrefix, false, false), commandTokenSeparator, "");
ScopedPointer<ServerIPC> ipc (new ServerIPC (info));
std::unique_ptr<ServerIPC> ipc (new ServerIPC (info));
if (ipc->dll.isLoaded())
{