fix(libstore): make BasicDerivation move-constructible/assignable

This commit is contained in:
Sergei Zimmerman 2024-11-08 19:39:26 +03:00
parent 8dd787fbf6
commit 149802b9f5

View file

@ -298,6 +298,10 @@ struct BasicDerivation
std::string name; std::string name;
BasicDerivation() = default; BasicDerivation() = default;
BasicDerivation(BasicDerivation &&) = default;
BasicDerivation(const BasicDerivation &) = default;
BasicDerivation& operator=(BasicDerivation &&) = default;
BasicDerivation& operator=(const BasicDerivation &) = default;
virtual ~BasicDerivation() { }; virtual ~BasicDerivation() { };
bool isBuiltin() const; bool isBuiltin() const;