Skip to content

Commit

Permalink
Readd const
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed Feb 23, 2023
1 parent d125ddf commit 49ef486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodes/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TaskPool {
public:
explicit TaskPool(size_t size);
void Shutdown();
[[nodiscard]] size_t GetAvailableThreads() { return size; }
[[nodiscard]] size_t GetAvailableThreads() const { return size; }
boost::asio::thread_pool pool;

private:
Expand Down

0 comments on commit 49ef486

Please sign in to comment.