reimplement Q_DISABLE_COPY_MOVE for full compatibility with versions < 5.13

I was under the impression Q_DISABLE_COPY_MOVE was a much older function than
it is. Since we historically target 5.6 and these functions are small
convenience functions, I just implemented them in the actual codebase.
This commit is contained in:
itsmattkc
2019-11-24 14:57:57 +09:00
parent ba191399ff
commit d5b1768d70
8 changed files with 34 additions and 8 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include <QFile>
#include "common/constructors.h"
#include "render/audioparams.h"
class WaveInput
@@ -12,7 +13,7 @@ public:
~WaveInput();
Q_DISABLE_COPY_MOVE(WaveInput)
DISABLE_COPY_MOVE(WaveInput)
bool open();