mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix build with GCC.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user