diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx
index c55638e5b..5840cd696 100644
--- a/src/DetachedSong.hxx
+++ b/src/DetachedSong.hxx
@@ -104,6 +104,7 @@ public:
 	   above prevents them from being generated implicitly */
 	explicit DetachedSong(const DetachedSong &) = default;
 	DetachedSong(DetachedSong &&) = default;
+	DetachedSong &operator=(DetachedSong &&) = default;
 
 	gcc_pure
 	const char *GetURI() const {