mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
ThreadPool::State pointer is const
This commit is contained in:
1 parent
4567a2c3e3
commit
f601d4e9fb
1 file changed
+2
-2
@@ -148,8 +148,8 @@ class ARROW_EXPORT ThreadPool {
|
||||
|
||||
static std::shared_ptr<ThreadPool> MakeCpuThreadPool();
|
||||
|
||||
std::shared_ptr<State> sp_state_;
|
||||
State* state_;
|
||||
const std::shared_ptr<State> sp_state_;
|
||||
State* const state_;
|
||||
bool shutdown_on_destroy_;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user