mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
QtAutogen: Don't take a reference to temporary.
While a const reference to a temporary is standard conformant, it doesn't seem to be necessary or advantageous here.
This commit is contained in:
@@ -1500,7 +1500,7 @@ void cmQtAutoGenerators::Init()
|
||||
|
||||
if (this->IncludeProjectDirsBefore)
|
||||
{
|
||||
const std::string &binDir = "-I" + this->ProjectBinaryDir;
|
||||
const std::string binDir = "-I" + this->ProjectBinaryDir;
|
||||
|
||||
const std::string srcDir = "-I" + this->ProjectSourceDir;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user