Commit ec3c968d authored by Sebastian Holtermann's avatar Sebastian Holtermann

cmake: Use scopes to limit temporary object lifetime

parent 1de0c827
......@@ -2430,6 +2430,7 @@ static bool cmakeCheckStampFile(const std::string& stampName)
}
// Compare the stamp dependencies against the dependency file itself.
{
cmFileTimeCache ftc;
std::string dep;
while (cmSystemTools::GetLineFromStream(fin, dep)) {
......@@ -2446,6 +2447,7 @@ static bool cmakeCheckStampFile(const std::string& stampName)
return false;
}
}
}
// The build system is up to date. The stamp file has been removed
// by the VS IDE due to a "rebuild" request. Restore it atomically.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment