mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
no need to double std::move
This commit is contained in:
@@ -57,7 +57,7 @@ struct MqttMessage {
|
|||||||
MqttMessage(const uint8_t operation, const std::string & topic, const std::string && payload, bool retain)
|
MqttMessage(const uint8_t operation, const std::string & topic, const std::string && payload, bool retain)
|
||||||
: operation(operation)
|
: operation(operation)
|
||||||
, topic(topic)
|
, topic(topic)
|
||||||
, payload(std::move(payload))
|
, payload(payload)
|
||||||
, retain(retain) {
|
, retain(retain) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user