Browse Source

std::sqrt needs cmath.

Frank Zago 15 năm trước cách đây
mục cha
commit
127408e379
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      int3.h

+ 1 - 1
int3.h

@@ -1,7 +1,6 @@
 #ifndef __INT3_H__
 #define __INT3_H__
 
-
 /*
  * int3.h, part of VCMI engine
  *
@@ -12,6 +11,7 @@
  *
  */
 
+#include <cmath>
 
 class int3
 {