Reorder includes. (#5749)

* Reorder includes.

* R.
This commit is contained in:
Jiaming Yuan
2020-06-03 13:30:47 +08:00
committed by GitHub
parent cd3d14ad0e
commit d3a0efbf16
89 changed files with 294 additions and 264 deletions

View File

@@ -6,9 +6,6 @@
#ifndef XGBOOST_COMMON_COMMON_H_
#define XGBOOST_COMMON_COMMON_H_
#include <xgboost/base.h>
#include <xgboost/logging.h>
#include <exception>
#include <limits>
#include <type_traits>
@@ -16,6 +13,9 @@
#include <string>
#include <sstream>
#include <xgboost/base.h>
#include <xgboost/logging.h>
#if defined(__CUDACC__)
#include <thrust/system/cuda/error.h>
#include <thrust/system_error.h>