summaryrefslogtreecommitdiff
path: root/src/ByteArrayDiskWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ByteArrayDiskWriter.h')
-rw-r--r--src/ByteArrayDiskWriter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ByteArrayDiskWriter.h b/src/ByteArrayDiskWriter.h
index e6e94c31..e11917ff 100644
--- a/src/ByteArrayDiskWriter.h
+++ b/src/ByteArrayDiskWriter.h
@@ -60,9 +60,14 @@ public:
// position is ignored
virtual void writeData(const char* data, int32_t len, int64_t position = 0);
virtual int readData(char* data, int32_t len, int64_t position);
+
// not implemented yet
+#ifdef ENABLE_MESSAGE_DIGEST
virtual string messageDigest(int64_t offset, int64_t length,
- const MessageDigestContext::DigestAlgo& algo) { return ""; }
+ const MessageDigestContext::DigestAlgo& algo) {
+ return "";
+ }
+#endif // ENABLE_MESSAGE_DIGEST
const char* getByteArray() const {
return buf;