Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lukka
CMake
Commits
ec3c968d
Commit
ec3c968d
authored
Mar 14, 2019
by
Sebastian Holtermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Use scopes to limit temporary object lifetime
parent
1de0c827
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
Source/cmake.cxx
Source/cmake.cxx
+16
-14
No files found.
Source/cmake.cxx
View file @
ec3c968d
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment