Prechádzať zdrojové kódy

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

Some standard libraries require this include for the code to compile.
Chandler Carruth 1 mesiac pred
rodič
commit
07afa07127
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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>