summaryrefslogtreecommitdiffstats
path: root/runtime/base/allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/base/allocator.h')
-rw-r--r--runtime/base/allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/base/allocator.h b/runtime/base/allocator.h
index 30f7f128e0..5a09c96126 100644
--- a/runtime/base/allocator.h
+++ b/runtime/base/allocator.h
@@ -101,7 +101,7 @@ inline void RegisterFree(AllocatorTag tag, size_t bytes) {
// Tracking allocator for use with STL types, tracks how much memory is used.
template<class T, AllocatorTag kTag>
-class TrackingAllocatorImpl {
+class TrackingAllocatorImpl : public std::allocator<T> {
public:
typedef typename std::allocator<T>::value_type value_type;
typedef typename std::allocator<T>::size_type size_type;