move c'tor should not take const argument
This commit is contained in:
parent
50339e53e2
commit
8b57db467a
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user