cms-sw/cmssw — pull request #615 by Dr15Jones (2013-08-26 15:15:32+00:00)
Title: Fixed bug where we could return a const & to a temporary from ParameterSet::getUntrackedParameterSet*

The recent change to getUntrackedParameterSet* to no longer register the default value
to the Registry lead to the bug where if the user passed in a temporary as the default then
that temporary could be returned by const&. If the user's receiving variable is also a const&
then one has an address to a temporary which the compiler can delete after that C++ line ends.