Преглед изворни кода

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>