diff options
author | Brad King <brad.king@kitware.com> | 2016-05-27 13:08:21 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-05-27 13:08:21 (GMT) |
commit | fb1f5d50af2bc97b8dfe783998a66a7a4bea140e (patch) | |
tree | 1b55b11e2626dbf1dc948cce00094d528dbde7c1 /Tests | |
parent | 82c286393afb15346431a8a3f601819698fcb87f (diff) | |
parent | 27ead963052b4c3f4e40ea9e6141ba9902ad310a (diff) | |
download | CMake-fb1f5d50af2bc97b8dfe783998a66a7a4bea140e.zip CMake-fb1f5d50af2bc97b8dfe783998a66a7a4bea140e.tar.gz CMake-fb1f5d50af2bc97b8dfe783998a66a7a4bea140e.tar.bz2 |
Merge topic 'remove-needless-copies'
27ead963 Remove unnecessary local copies.
618fb23f Pass arguments that are not modified as const&.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLib/testRST.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testRST.cxx b/Tests/CMakeLib/testRST.cxx index a575d0d..e5a96c2 100644 --- a/Tests/CMakeLib/testRST.cxx +++ b/Tests/CMakeLib/testRST.cxx @@ -13,7 +13,7 @@ #include "cmSystemTools.h" -void reportLine(std::ostream& os, bool ret, std::string line, bool eol) +void reportLine(std::ostream& os, bool ret, std::string const& line, bool eol) { if (ret) { os << "\"" << line << "\" (" << (eol ? "with EOL" : "without EOL") << ")"; |