From 385f7b8d0ca926d00c71987ab308202511e5c753 Mon Sep 17 00:00:00 2001 From: Paul Tucker Date: Tue, 31 Jul 2018 13:52:18 -0700 Subject: Change getAllocator() to allocator() in ThreadPoolDevice. --- unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h index f4123b71d..f8188ffde 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h @@ -281,7 +281,7 @@ struct ThreadPoolDevice { ThreadPoolInterface* getPool() const { return pool_; } // Allocator accessor. - Allocator* getAllocator() const { return allocator_; } + Allocator* allocator() const { return allocator_; } private: ThreadPoolInterface* pool_; -- cgit v1.2.3