diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-11-13 23:03:28 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-11-18 22:20:40 (GMT) |
commit | bf00f5287b2d0cc2dbd175ab25e7cafbda944f23 (patch) | |
tree | 8224c63ad587df840af61e3907c7c9deaa6381b5 /Source | |
parent | d526ebc603b0a83a7a1602ed4ddcf1b483077cf4 (diff) | |
download | CMake-bf00f5287b2d0cc2dbd175ab25e7cafbda944f23.zip CMake-bf00f5287b2d0cc2dbd175ab25e7cafbda944f23.tar.gz CMake-bf00f5287b2d0cc2dbd175ab25e7cafbda944f23.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 929cbc0..3d6445d 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -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; |