Commit 85cb522
committed
[Clang][NFC] Use std::move to avoid copy
Static analysis flagged this code for using copy when we could use std::move.
Worth noting that CD.Message is a StringRef but Conflict.Message is std::string.
Otherwise I would have used a temporary in place and avoid a local variable.1 parent 70e303f commit 85cb522
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2010 | 2010 | | |
2011 | 2011 | | |
2012 | 2012 | | |
2013 | | - | |
| 2013 | + | |
| 2014 | + | |
2014 | 2015 | | |
2015 | 2016 | | |
2016 | 2017 | | |
| |||
0 commit comments