Skip to content

Commit 040e8af

Browse files
committed
fix: ota update example
1 parent 027b897 commit 040e8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/OTAUpdate/OTAUpdate.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ bool handleOTAUpdate(const String& url, int major, int minor, int patch, bool fo
7979
return true;
8080
} else {
8181
String result = "Current version is up to date.";
82-
SinricPro.setResponseMessage(result);
82+
SinricPro.setResponseMessage(std::move(result));
8383
Serial.println(result);
8484
return false;
8585
}

0 commit comments

Comments
 (0)