summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_memoryaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_memoryaccess.h')
-rw-r--r--fpdfsdk/cpdfsdk_memoryaccess.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_memoryaccess.h b/fpdfsdk/cpdfsdk_memoryaccess.h
index 9d5a365804..ed9c80acb5 100644
--- a/fpdfsdk/cpdfsdk_memoryaccess.h
+++ b/fpdfsdk/cpdfsdk_memoryaccess.h
@@ -14,13 +14,13 @@ class CPDFSDK_MemoryAccess final : public IFX_SeekableReadStream {
template <typename T, typename... Args>
friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
- ~CPDFSDK_MemoryAccess() override;
-
+ // IFX_SeekableReadStream:
FX_FILESIZE GetSize() override;
bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
private:
CPDFSDK_MemoryAccess(const uint8_t* pBuf, FX_FILESIZE size);
+ ~CPDFSDK_MemoryAccess() override;
const uint8_t* const m_pBuf;
const FX_FILESIZE m_size;