test/test.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 84d224d995c8a08d6ae9d5f8a712e2f353a8b388
Author:     Miklos Vajna <[email protected]>
AuthorDate: Fri Nov 30 08:37:50 2018 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Fri Nov 30 08:38:00 2018 +0100

    test: no need to copy procEntry
    
    Change-Id: Iac7bca9ebcf104975d01bcd1cdfe8e0f4d2a742e

diff --git a/test/test.cpp b/test/test.cpp
index 4a4ba9421..f09e1f855 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -154,7 +154,7 @@ std::vector<int> getProcPids(const char* exec_filename, 
bool ignoreZombies = fal
     {
         try
         {
-            Poco::Path procEntry = it.path();
+            const Poco::Path& procEntry = it.path();
             const std::string& fileName = procEntry.getFileName();
             int pid;
             std::size_t endPos = 0;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to