From: Matteo Andreozzi Date: Mon, 15 Aug 2016 11:00:35 +0000 (+0100) Subject: dev, sim: Added missing override keywords to fix CLANG compilation (OSX) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c494965ab52e75428973a5b9aafa7cc923a05e8;p=gem5.git dev, sim: Added missing override keywords to fix CLANG compilation (OSX) Change-Id: Ice5fa11e77d06576eaa42149f5fa340a769d8b01 Reviewed-by: Andreas Sandberg --- 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; }; /**