bryancall commented on code in PR #13686:
URL: https://github.com/apache/trafficserver/pull/13686#discussion_r4019778131


##########
src/proxy/http/remap/unit-tests/test_PluginFactory.cc:
##########
@@ -395,7 +395,7 @@ SCENARIO("loading plugins", "[plugin][core]")
 
     WHEN("config using nonexisting absolute plugin file name")
     {
-      fs::path relativeExistingPath = pluginName;
+      fs::path relativeExistingPath = std::move(pluginName);

Review Comment:
   Added in 36b89c0c42. I put the explanation on the `pluginName` declaration 
rather than only at the `std::move`, since that is the site that governs all 
seven reads — a comment down here would not be visible to someone editing one 
of the earlier `WHEN` blocks, which is the direction a re-introduced warning is 
more likely to come from. The move site has a one-line pointer back to it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to