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
|
|
@ -88,7 +88,7 @@ struct ConvolutionDemoDSP
|
|||
auto selectedType = cabinetTypeParameter->getCurrentSelectedID();
|
||||
auto assetName = (selectedType == 2 ? "guitar_amp.wav" : "cassette_recorder.wav");
|
||||
|
||||
ScopedPointer<InputStream> assetInputStream (createAssetInputStream (assetName));
|
||||
std::unique_ptr<InputStream> assetInputStream (createAssetInputStream (assetName));
|
||||
if (assetInputStream != nullptr)
|
||||
{
|
||||
currentCabinetData.reset();
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ struct SIMDRegisterDemoDSP
|
|||
|
||||
//==============================================================================
|
||||
IIR::Coefficients<float>::Ptr iirCoefficients;
|
||||
ScopedPointer<IIR::Filter<SIMDRegister<float>>> iir;
|
||||
std::unique_ptr<IIR::Filter<SIMDRegister<float>>> iir;
|
||||
|
||||
AudioBlock<SIMDRegister<float>> interleaved;
|
||||
AudioBlock<float> zero;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue