summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2021-01-31 14:02:33 +0100
committerUwe Klotz <uklotz@mixxx.org>2021-01-31 14:39:09 +0100
commitfcb59bbff8997094d2a0ce3e60afd7edb2bc0118 (patch)
tree9fbb99b0fa327d757251774b3ffeeb1ebf652784 /src/audio
parent0848065bcccd6d263aba91d9b0ca485d43dd76d8 (diff)
Use Q_MOVABLE_TYPE instead of Q_PRIMITIVE_TYPE for std::optional
std::optional<primitive type> might not strictly qualify for a primitive type.
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/types.h b/src/audio/types.h
index 327c5cc08f..2a20d50adb 100644
--- a/src/audio/types.h
+++ b/src/audio/types.h
@@ -202,10 +202,10 @@ QDebug operator<<(QDebug dbg, Bitrate arg);
Q_DECLARE_TYPEINFO(mixxx::audio::ChannelCount, Q_PRIMITIVE_TYPE);
Q_DECLARE_METATYPE(mixxx::audio::ChannelCount)
-Q_DECLARE_TYPEINFO(mixxx::audio::OptionalChannelLayout, Q_PRIMITIVE_TYPE);
+Q_DECLARE_TYPEINFO(mixxx::audio::OptionalChannelLayout, Q_MOVABLE_TYPE);
Q_DECLARE_METATYPE(mixxx::audio::OptionalChannelLayout)
-Q_DECLARE_TYPEINFO(mixxx::audio::OptionalSampleLayout, Q_PRIMITIVE_TYPE);
+Q_DECLARE_TYPEINFO(mixxx::audio::OptionalSampleLayout, Q_MOVABLE_TYPE);
Q_DECLARE_METATYPE(mixxx::audio::OptionalSampleLayout)
Q_DECLARE_TYPEINFO(mixxx::audio::SampleRate, Q_PRIMITIVE_TYPE);