summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/storage/disk_image.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dev/storage/disk_image.hh b/src/dev/storage/disk_image.hh
index 0f86aab35..6c58129bd 100644
--- a/src/dev/storage/disk_image.hh
+++ b/src/dev/storage/disk_image.hh
@@ -89,8 +89,10 @@ class RawDiskImage : public DiskImage
std::streampos size() const override;
- std::streampos read(uint8_t *data, std::streampos offset) const override;
- std::streampos write(const uint8_t *data, std::streampos offset) override;
+ virtual std::streampos read(uint8_t *data, std::streampos offset)
+ const override;
+ virtual std::streampos write(const uint8_t *data, std::streampos offset)
+ override;
};
/**