From 4c494965ab52e75428973a5b9aafa7cc923a05e8 Mon Sep 17 00:00:00 2001 From: Matteo Andreozzi Date: Mon, 15 Aug 2016 12:00:35 +0100 Subject: [PATCH] dev, sim: Added missing override keywords to fix CLANG compilation (OSX) Change-Id: Ice5fa11e77d06576eaa42149f5fa340a769d8b01 Reviewed-by: Andreas Sandberg --- src/dev/storage/disk_image.hh | 6 ++++-- 1 file 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; }; /** -- 2.30.2