Browse Source

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

Some standard libraries require this include for the code to compile.
Chandler Carruth 1 tháng trước cách đây
mục cha
commit
07afa07127
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      toolchain/lex/numeric_literal.cpp

+ 1 - 0
toolchain/lex/numeric_literal.cpp

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