Clean up warnings (#6325)
This commit is contained in:
@@ -421,7 +421,7 @@ class BatchIterator {
|
||||
return *(*impl_);
|
||||
}
|
||||
|
||||
bool operator!=(const BatchIterator& rhs) const {
|
||||
bool operator!=(const BatchIterator&) const {
|
||||
CHECK(impl_ != nullptr);
|
||||
return !impl_->AtEnd();
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ class Predictor {
|
||||
*
|
||||
* \param cfg The configuration.
|
||||
*/
|
||||
virtual void Configure(const std::vector<std::pair<std::string, std::string>>& cfg);
|
||||
virtual void Configure(const std::vector<std::pair<std::string, std::string>>&);
|
||||
|
||||
/**
|
||||
* \brief Generate batch predictions for a given feature matrix. May use
|
||||
|
||||
Reference in New Issue
Block a user