Fix build with GCC.

This commit is contained in:
John Preston
2022-04-07 18:28:58 +04:00
parent 84cd5b9278
commit ea30918d35
8 changed files with 1 additions and 74 deletions
@@ -50,7 +50,6 @@ class AudioCreator final {
public:
AudioCreator();
AudioCreator(AudioCreator &&other);
AudioCreator &operator=(AudioCreator &&other);
~AudioCreator();
private:
@@ -77,12 +76,6 @@ AudioCreator::AudioCreator(AudioCreator &&other)
, _attached(base::take(other._attached)) {
}
AudioCreator &AudioCreator::operator=(AudioCreator &&other) {
_lifetime = base::take(other._lifetime);
_attached = base::take(other._attached);
return *this;
}
AudioCreator::~AudioCreator() {
if (_attached) {
Media::Audio::ScheduleDetachIfNotUsedSafe();