dev, sim: Added missing override keywords to fix CLANG compilation (OSX)
authorMatteo Andreozzi <Matteo.Andreozzi@arm.com>
Mon, 15 Aug 2016 11:00:35 +0000 (12:00 +0100)
committerMatteo Andreozzi <Matteo.Andreozzi@arm.com>
Mon, 15 Aug 2016 11:00:35 +0000 (12:00 +0100)
Change-Id: Ice5fa11e77d06576eaa42149f5fa340a769d8b01
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/dev/storage/disk_image.hh

index 0f86aab35907730874c153207404a47a5498ba13..6c58129bd054e0160bbdbc0b614415db1a4aa8b9 100644 (file)
@@ -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;
 };
 
 /**