Commit 1292af47 authored by Max Kellermann's avatar Max Kellermann

Revert "DetachedSong: remove explicitly-defaulted copy/move constructors"

This reverts commit 67b7d464. Turns out I was wrong, and mentioning these does make a difference: the implicit move constructor is not defined in the presence of a user-declared destructor.
parent 4d88a099
......@@ -100,6 +100,11 @@ public:
~DetachedSong();
/* these are declared because the user-defined destructor
above prevents them from being generated implicitly */
explicit DetachedSong(const DetachedSong &) = default;
DetachedSong(DetachedSong &&) = default;
gcc_pure
const char *GetURI() const {
return uri.c_str();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment