summaryrefslogtreecommitdiff
path: root/src/dev/storage
diff options
context:
space:
mode:
authorMatteo Andreozzi <Matteo.Andreozzi@arm.com>2016-08-15 12:00:35 +0100
committerMatteo Andreozzi <Matteo.Andreozzi@arm.com>2016-08-15 12:00:35 +0100
commit4c494965ab52e75428973a5b9aafa7cc923a05e8 (patch)
tree4ea445f7a78d4b45c01e73ca4884dcf9170551d9 /src/dev/storage
parent698767e5384a664b3bad52c9b40d62daf0eabbfc (diff)
downloadgem5-4c494965ab52e75428973a5b9aafa7cc923a05e8.tar.xz
dev, sim: Added missing override keywords to fix CLANG compilation (OSX)
Change-Id: Ice5fa11e77d06576eaa42149f5fa340a769d8b01 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/dev/storage')
-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;
};
/**