summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
authorMilian Wolff <mail@milianw.de>2016-01-15 13:17:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-01-20 20:20:55 (GMT)
commitf9599ed42f5bfda35b98936257423f00e260498f (patch)
treed6232fedc91e9a4313d7c3ccb4b1d2d2e905010a /Source/cmMacroCommand.cxx
parent275f2a85b21d781e237dd22252261a0a62d9879b (diff)
downloadCMake-f9599ed42f5bfda35b98936257423f00e260498f.zip
CMake-f9599ed42f5bfda35b98936257423f00e260498f.tar.gz
CMake-f9599ed42f5bfda35b98936257423f00e260498f.tar.bz2
Remove temporary allocations by extending the lifetime of the retval.
See also Herb Sutter's article on the "most important const": http://herbsutter.com/2008/01/01/gotw-88-a-candidate-for-the-most-important-const/ When running the CMake daemon on the KDevelop build dir, this removes some hundreds of thousands of temporary allocations. This hotspot was found with heaptrack.
Diffstat (limited to 'Source/cmMacroCommand.cxx')
0 files changed, 0 insertions, 0 deletions