Skip to content

Commit

Permalink
Correct style issues found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Nov 8, 2022
1 parent 00dcb8c commit 078d2d9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/common/cuda_pinned_allocator.h
Expand Up @@ -81,11 +81,10 @@ class pinned_allocator {

XGBOOST_DEVICE inline bool operator==(pinned_allocator const& x) const { return true; }

XGBOOST_DEVICE inline bool operator!=(pinned_allocator const& x) const
{
XGBOOST_DEVICE inline bool operator!=(pinned_allocator const& x) const {
return !operator==(x);
}
};
}
}
}
} // namespace cuda
} // namespace common
} // namespace xgboost

0 comments on commit 078d2d9

Please sign in to comment.