summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_memorystream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_memorystream.cpp')
-rw-r--r--core/fxcrt/cfx_memorystream.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/fxcrt/cfx_memorystream.cpp b/core/fxcrt/cfx_memorystream.cpp
index 8073d375da..15cde78f42 100644
--- a/core/fxcrt/cfx_memorystream.cpp
+++ b/core/fxcrt/cfx_memorystream.cpp
@@ -146,14 +146,6 @@ bool CFX_MemoryStream::WriteBlock(const void* buffer,
return true;
}
-bool CFX_MemoryStream::Seek(size_t pos) {
- if (pos > m_nCurSize)
- return false;
-
- m_nCurPos = pos;
- return true;
-}
-
bool CFX_MemoryStream::ExpandBlocks(size_t size) {
m_nCurSize = std::max(m_nCurSize, size);
if (size <= m_nTotalSize)