test/UnitHTTP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4c5f3d7826a21a735f508b64afa7b8b739950b24 Author: Miklos Vajna <[email protected]> AuthorDate: Thu Jun 6 09:46:53 2019 +0200 Commit: Miklos Vajna <[email protected]> CommitDate: Thu Jun 6 09:46:53 2019 +0200 test: avoid not needed copy Change-Id: I45561d5d3772650139ab9cc3151abb8ddd7c248c diff --git a/test/UnitHTTP.cpp b/test/UnitHTTP.cpp index 7d20b20c1..3537b5f96 100644 --- a/test/UnitHTTP.cpp +++ b/test/UnitHTTP.cpp @@ -84,7 +84,7 @@ public: } } - void writeString(const std::shared_ptr<Poco::Net::StreamSocket> &socket, std::string str) + void writeString(const std::shared_ptr<Poco::Net::StreamSocket> &socket, const std::string& str) { socket->sendBytes(str.c_str(), str.size()); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
