Explorar el Código

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

Some standard libraries require this include for the code to compile.
Chandler Carruth hace 1 mes
padre
commit
07afa07127
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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>