mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
cmAlgorithms: pass std::string by const ref
This commit is contained in:
parent
7d6090aec4
commit
b799ca42b8
@ -360,7 +360,8 @@ std::string cmWrap(std::string const& prefix, Range const& r,
|
||||
}
|
||||
|
||||
template <typename Range>
|
||||
std::string cmWrap(char prefix, Range const& r, char suffix, std::string sep)
|
||||
std::string cmWrap(char prefix, Range const& r, char suffix,
|
||||
std::string const& sep)
|
||||
{
|
||||
return cmWrap(std::string(1, prefix), r, std::string(1, suffix), sep);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user