summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/parser/cpdf_stream_acc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_stream_acc.h b/core/fpdfapi/parser/cpdf_stream_acc.h
index 24ae5d2ed8..51a8a18332 100644
--- a/core/fpdfapi/parser/cpdf_stream_acc.h
+++ b/core/fpdfapi/parser/cpdf_stream_acc.h
@@ -19,6 +19,9 @@ class CPDF_StreamAcc {
CPDF_StreamAcc();
~CPDF_StreamAcc();
+ CPDF_StreamAcc(const CPDF_StreamAcc&) = delete;
+ CPDF_StreamAcc& operator=(const CPDF_StreamAcc&) = delete;
+
void LoadAllData(const CPDF_Stream* pStream,
bool bRawAccess = false,
uint32_t estimated_size = 0,