浏览代码

Fix missing include for `std::log2` (#7015)

Some standard libraries require this include for the code to compile.
Chandler Carruth 1 月之前
父节点
当前提交
07afa07127
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      toolchain/lex/numeric_literal.cpp

+ 1 - 0
toolchain/lex/numeric_literal.cpp

@@ -6,6 +6,7 @@
 
 #include <algorithm>
 #include <bitset>
+#include <cmath>
 #include <iterator>
 #include <optional>