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
|
|
@ -159,7 +159,7 @@ int main (int argc, char* argv[])
|
|||
headerFile.deleteFile();
|
||||
cppFile.deleteFile();
|
||||
|
||||
ScopedPointer<OutputStream> header (headerFile.createOutputStream());
|
||||
std::unique_ptr<OutputStream> header (headerFile.createOutputStream());
|
||||
|
||||
if (header == nullptr)
|
||||
{
|
||||
|
|
@ -168,7 +168,7 @@ int main (int argc, char* argv[])
|
|||
return 0;
|
||||
}
|
||||
|
||||
ScopedPointer<OutputStream> cpp (cppFile.createOutputStream());
|
||||
std::unique_ptr<OutputStream> cpp (cppFile.createOutputStream());
|
||||
|
||||
if (cpp == nullptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue