fix travis
This commit is contained in:
parent
f6c82d52ec
commit
0dbac3d11e
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ${TASK} == "R-package" ]; then
|
||||
cat R-package/xgboost.Rcheck/*.log
|
||||
cat xgboost/xgboost.Rcheck/*.log
|
||||
fi
|
||||
|
||||
@ -219,7 +219,7 @@ class ThreadBuffer {
|
||||
factory_.Destroy();
|
||||
}
|
||||
}
|
||||
inline void SetParam(const char *name, const char *val) {
|
||||
inline void SetParam(const char *name, const char *val) {
|
||||
}
|
||||
inline bool Init(void) {
|
||||
if (!factory_.Init()) return false;
|
||||
@ -242,7 +242,7 @@ class ThreadBuffer {
|
||||
inline const ElemFactory &get_factory() const {
|
||||
return factory_;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
// initialized
|
||||
bool init_end_;
|
||||
|
||||
@ -181,14 +181,14 @@ const char *XGBSetGetLastError_(const char *str_set) {
|
||||
#else
|
||||
// crippled implementation for solaris case
|
||||
// exception handling is not needed for R, so it is OK.
|
||||
#define API_BEGIN()
|
||||
#define API_BEGIN()
|
||||
#define API_END_FINALIZE(Finalize) return 0
|
||||
#define API_END() return 0
|
||||
|
||||
const char *XGBSetGetLastError_(const char *str_set) {
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
#endif // XGBOOST_STRICT_CXX98_
|
||||
|
||||
/*! \brief return str message of the last error */
|
||||
const char *XGBGetLastError() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user