[llvm] 352a55e - Add the header of std::min

Jianzhou Zhao via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 20:50:12 PDT 2020


Author: Jianzhou Zhao
Date: 2020-09-17T03:48:36Z
New Revision: 352a55ef06a9dcb3dfeb45302e9789da24b513c3

URL: https://github.com/llvm/llvm-project/commit/352a55ef06a9dcb3dfeb45302e9789da24b513c3
DIFF: https://github.com/llvm/llvm-project/commit/352a55ef06a9dcb3dfeb45302e9789da24b513c3.diff

LOG: Add the header of std::min

fixing
https://github.com/llvm/llvm-project/commit/11201315d5881a135faa5aa87f415ce03f99eb96

Added: 
    

Modified: 
    llvm/include/llvm/Bitstream/BitstreamWriter.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Bitstream/BitstreamWriter.h b/llvm/include/llvm/Bitstream/BitstreamWriter.h
index 3faadf0095a6..d5593d6ea9f0 100644
--- a/llvm/include/llvm/Bitstream/BitstreamWriter.h
+++ b/llvm/include/llvm/Bitstream/BitstreamWriter.h
@@ -21,6 +21,7 @@
 #include "llvm/Bitstream/BitCodes.h"
 #include "llvm/Support/Endian.h"
 #include "llvm/Support/raw_ostream.h"
+#include <algorithm>
 #include <vector>
 
 namespace llvm {


        


More information about the llvm-commits mailing list