mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 16:51:21 -06:00
Wifi Duet upload: Improved some string copying.
This commit is contained in:
parent
70e44c3e8e
commit
acbf25681a
2 changed files with 6 additions and 6 deletions
|
|
@ -86,7 +86,7 @@ public:
|
|||
// Set the POST request body.
|
||||
// The data is used verbatim, it is not additionally encoded in any way.
|
||||
// This can be used for hosts which do not support multipart requests.
|
||||
Http& set_post_body(const std::string body);
|
||||
Http& set_post_body(const std::string &body);
|
||||
|
||||
// Set the file contents as a PUT request body.
|
||||
// The data is used verbatim, it is not additionally encoded in any way.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue