move c'tor should not take const argument

This commit is contained in:
Dennis Luxen 2014-10-02 19:19:52 +02:00
parent 50339e53e2
commit 8b57db467a

View File

@ -37,7 +37,7 @@ struct Header
{
Header& operator=(const Header& other) = default;
Header(const std::string & name, const std::string & value) : name(name), value(value) {}
Header(const Header && other) : name(std::move(other.name)), value(std::move(other.value)) {}
Header(Header && other) : name(std::move(other.name)), value(std::move(other.value)) {}
void Clear()
{