diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-08 12:56:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-08 12:56:05 +0100 |
| commit | 49493f16a9bab200e50954ae69f0c7bca869a139 (patch) | |
| tree | ffb772ea6c44c2cd9f241cfed302c8a988962d54 /src/lib/audio_delay.cc | |
| parent | 2ac6688e4e75ff26db9208e760966bd071dcc48f (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/audio_delay.cc')
| -rw-r--r-- | src/lib/audio_delay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/audio_delay.cc b/src/lib/audio_delay.cc index 90214470c..d06d9e730 100644 --- a/src/lib/audio_delay.cc +++ b/src/lib/audio_delay.cc @@ -43,7 +43,7 @@ AudioDelay::run (shared_ptr<const AudioBuffers> in) /* You can't call this with varying channel counts */ DCPOMATIC_ASSERT (!_tail || in->channels() == _tail->channels()); - shared_ptr<AudioBuffers> out (new AudioBuffers (in->channels(), in->frames())); + auto out = make_shared<AudioBuffers>(in->channels(), in->frames()); if (in->frames() > _samples) { |
