Change getAllocator() to allocator() in ThreadPoolDevice.

This commit is contained in:
Paul Tucker 2018-07-31 13:52:18 -07:00
parent d4afccde5a
commit 385f7b8d0c

View File

@ -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_;