Skip to content

Commit

Permalink
switch to class from struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Aug 16, 2024
1 parent 3a04618 commit 8a50b88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions graphbolt/src/cnumpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ class OnDiskNpyArray : public torch::CustomClassHolder {
* @brief This class is meant to distribute the available read buffers and the
* statically declared io_uring queues among the worker threads.
*/
struct QueueAndBufferAcquirer {
struct UniqueQueue {
class QueueAndBufferAcquirer {
public:
class UniqueQueue {
public:
UniqueQueue(int thread_id) : thread_id_(thread_id) {}
UniqueQueue(const UniqueQueue&) = delete;
UniqueQueue& operator=(const UniqueQueue&) = delete;
Expand Down

0 comments on commit 8a50b88

Please sign in to comment.