summaryrefslogtreecommitdiff
path: root/core/math/audio_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/audio_frame.h')
-rw-r--r--core/math/audio_frame.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/math/audio_frame.h b/core/math/audio_frame.h
index a5616b8d79..4a11b99fe8 100644
--- a/core/math/audio_frame.h
+++ b/core/math/audio_frame.h
@@ -124,10 +124,9 @@ struct AudioFrame {
r = p_frame.r;
}
- _ALWAYS_INLINE_ AudioFrame &operator=(const AudioFrame &p_frame) {
+ _ALWAYS_INLINE_ void operator=(const AudioFrame &p_frame) {
l = p_frame.l;
r = p_frame.r;
- return *this;
}
_ALWAYS_INLINE_ operator Vector2() const {