mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +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)
|
||||
: operation(operation)
|
||||
, topic(topic)
|
||||
, payload(std::move(payload))
|
||||
, payload(payload)
|
||||
, retain(retain) {
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user