Skip to content

Commit

Permalink
fixed cpplint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Feb 23, 2020
1 parent 6fc4966 commit 68f96b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion include/LightGBM/utils/threading.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <LightGBM/utils/common.h>
#include <LightGBM/utils/openmp_wrapper.h>

#include <algorithm>
#include <functional>
#include <vector>

Expand Down Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions src/boosting/gbdt.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
#ifndef LIGHTGBM_BOOSTING_GBDT_H_
#define LIGHTGBM_BOOSTING_GBDT_H_

#include <LightGBM/utils/threading.h>

#include <LightGBM/boosting.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/prediction_early_stop.h>
#include <LightGBM/utils/threading.h>

#include <string>
#include <algorithm>
Expand Down

0 comments on commit 68f96b3

Please sign in to comment.