summaryrefslogtreecommitdiffstats
path: root/libs/binder/MemoryHeapPmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/MemoryHeapPmem.cpp')
-rw-r--r--libs/binder/MemoryHeapPmem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/binder/MemoryHeapPmem.cpp b/libs/binder/MemoryHeapPmem.cpp
index 16e92f9..5cc60f8 100644
--- a/libs/binder/MemoryHeapPmem.cpp
+++ b/libs/binder/MemoryHeapPmem.cpp
@@ -127,7 +127,11 @@ void SubRegionMemory::revoke()
MemoryHeapPmem::MemoryHeapPmem(const sp<MemoryHeapBase>& pmemHeap,
uint32_t flags)
+#ifdef USE_ECLAIR_MEMORYDEALER
+ : HeapInterface(), MemoryHeapBase()
+#else
: MemoryHeapBase()
+#endif
{
char const * const device = pmemHeap->getDevice();
#if HAVE_ANDROID_OS