Upgrade clang-tidy on CI. (#5469)
* Correct all clang-tidy errors. * Upgrade clang-tidy to 10 on CI. Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
@@ -118,7 +118,7 @@ class Range {
|
||||
XGBOOST_DEVICE explicit Iterator(DifferenceType start, DifferenceType step) :
|
||||
i_{start}, step_{step} {}
|
||||
|
||||
public:
|
||||
private:
|
||||
int64_t i_;
|
||||
DifferenceType step_ = 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user