Pārlūkot izejas kodu

fix unittest compiler bug, need open cmath

ruanshudong 2 gadi atpakaļ
vecāks
revīzija
aacc87a503

+ 1 - 0
unit-test/util/test_tc_epoller.cpp

@@ -3,6 +3,7 @@
 #include "util/tc_logger.h"
 #include <thread>
 #include <iostream>
+#include <cmath>
 #include "gtest/gtest.h"
 
 using namespace tars;

+ 1 - 0
unit-test/util/test_tc_timer.cpp

@@ -2,6 +2,7 @@
 #include "util/tc_common.h"
 #include "util/tc_cron.h"
 #include "util/tc_epoller.h"
+#include <cmath>
 #include "gtest/gtest.h"
 
 #include <iostream>