Skip to content

Commit

Permalink
Fix: Movable but not copyable
Browse files Browse the repository at this point in the history
  • Loading branch information
hirak99 committed Sep 19, 2024
1 parent e8fe186 commit c857c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ordered_thread_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class OrderedThreadPool {
}

// Movable but not copyable.
OrderedThreadPool(OrderedThreadPool&& other);
OrderedThreadPool& operator=(OrderedThreadPool&& other);
OrderedThreadPool(OrderedThreadPool&& other) = default;
OrderedThreadPool& operator=(OrderedThreadPool&& other) = default;

/**
* Starts processing of a new job.
Expand Down

0 comments on commit c857c50

Please sign in to comment.