ThreadPool::State pointer is const

This commit is contained in:
Antoine Pitrou committed 2018-05-24 16:15:31 +02:00
1 parent 4567a2c3e3
commit f601d4e9fb
1 file changed
+2 -2
+2 -2
View File
@@ -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_;
};