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:
Stephen Kelly 2014-11-14 00:03:28 +01:00
parent d526ebc603
commit bf00f5287b
1 changed files with 1 additions and 1 deletions

View File

@ -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;