Float comment to out describe gaveUpOnSubstitution in general

This commit is contained in:
John Ericson 2020-08-11 21:16:14 +00:00
parent d0f6e338dd
commit 07e3466eb4

View file

@ -1334,11 +1334,10 @@ void DerivationGoal::outputsSubstitutionTried()
gaveUpOnSubstitution(); gaveUpOnSubstitution();
} }
void DerivationGoal::gaveUpOnSubstitution()
{
/* At least one of the output paths could not be /* At least one of the output paths could not be
produced using a substitute. So we have to build instead. */ produced using a substitute. So we have to build instead. */
void DerivationGoal::gaveUpOnSubstitution()
{
/* Make sure checkPathValidity() from now on checks all /* Make sure checkPathValidity() from now on checks all
outputs. */ outputs. */
wantedOutputs.clear(); wantedOutputs.clear();