diff options
author | Matteo Andreozzi <Matteo.Andreozzi@arm.com> | 2016-08-15 12:00:35 +0100 |
---|---|---|
committer | Matteo Andreozzi <Matteo.Andreozzi@arm.com> | 2016-08-15 12:00:35 +0100 |
commit | 4c494965ab52e75428973a5b9aafa7cc923a05e8 (patch) | |
tree | 4ea445f7a78d4b45c01e73ca4884dcf9170551d9 /src/dev | |
parent | 698767e5384a664b3bad52c9b40d62daf0eabbfc (diff) | |
download | gem5-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')
-rw-r--r-- | src/dev/storage/disk_image.hh | 6 |
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; }; /** |