We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 049b501 commit a98ae5cCopy full SHA for a98ae5c
generate/templates/manual/src/convenient_patch.cc
@@ -88,7 +88,7 @@ PatchData *createFromRaw(git_patch *raw) {
88
calculatedContentLength > noNewlineStringLength &&
89
!strncmp(
90
&line->content[calculatedContentLength - noNewlineStringLength],
91
- "\n\\ No newline at end of file\n", std::min(calculatedContentLength, noNewlineStringLength)
+ "\n\\ No newline at end of file\n", (std::min)(calculatedContentLength, noNewlineStringLength)
92
)) {
93
EOFFlag = true;
94
}
0 commit comments