diff --git a/include/LightGBM/utils/threading.h b/include/LightGBM/utils/threading.h index 3c9afe8f7282..c4cb57a49d73 100644 --- a/include/LightGBM/utils/threading.h +++ b/include/LightGBM/utils/threading.h @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -97,7 +98,8 @@ class ParallelPartitionRunner { left_write_pos_.resize(num_threads_); right_write_pos_.resize(num_threads_); } - ~ParallelPartitionRunner(){}; + + ~ParallelPartitionRunner() {} void ReSize(INDEX_T num_data) { left_.resize(num_data); diff --git a/src/boosting/gbdt.h b/src/boosting/gbdt.h index 9ffb432ec889..c4e452a69d19 100644 --- a/src/boosting/gbdt.h +++ b/src/boosting/gbdt.h @@ -5,11 +5,10 @@ #ifndef LIGHTGBM_BOOSTING_GBDT_H_ #define LIGHTGBM_BOOSTING_GBDT_H_ -#include - #include #include #include +#include #include #include