diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-02 17:34:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 17:34:45 +0100 |
commit | 892a5a72cd9b25dc660671b9f4244fd842884b9f (patch) | |
tree | fb410b4b5daa1e8a79dc9f7983c43bcd9b196e8f /editor/audio_stream_preview.h | |
parent | 11d5b91462285d9fc541c20331aedcd4511908cd (diff) | |
parent | 7da392bcc52366740394322728464e724cf20cdf (diff) |
Merge pull request #55474 from akien-mga/copy-operators-no-reference
Diffstat (limited to 'editor/audio_stream_preview.h')
-rw-r--r-- | editor/audio_stream_preview.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/audio_stream_preview.h b/editor/audio_stream_preview.h index 9cf47fd51a..8b83235b35 100644 --- a/editor/audio_stream_preview.h +++ b/editor/audio_stream_preview.h @@ -66,14 +66,13 @@ class AudioStreamPreviewGenerator : public Node { Thread *thread = nullptr; // Needed for the bookkeeping of the Map - Preview &operator=(const Preview &p_rhs) { + void operator=(const Preview &p_rhs) { preview = p_rhs.preview; base_stream = p_rhs.base_stream; playback = p_rhs.playback; generating.set_to(generating.is_set()); id = p_rhs.id; thread = p_rhs.thread; - return *this; } Preview(const Preview &p_rhs) { preview = p_rhs.preview; |