Skip to content

Commit

Permalink
mark explicit (dmlc#4813)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve <[email protected]>
  • Loading branch information
frozenbugs and Steve authored Nov 4, 2022
1 parent 1e8c645 commit 360e6cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/graph/transform/cuda/cuda_to_block.cu
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace {
template<typename IdType>
class DeviceNodeMapMaker {
public:
DeviceNodeMapMaker(
explicit DeviceNodeMapMaker(
const std::vector<int64_t>& maxNodesPerType) :
max_num_nodes_(0) {
max_num_nodes_ = *std::max_element(maxNodesPerType.begin(),
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/network/msg_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class MessageQueue {
* \param queue_size size (bytes) of message queue
* \param num_producers number of producers, use 1 by default
*/
MessageQueue(int64_t queue_size /* in bytes */,
explicit MessageQueue(int64_t queue_size /* in bytes */,
int num_producers = 1);

/*!
Expand Down

0 comments on commit 360e6cb

Please sign in to comment.