From 1b1ccf4f39a88665d286d1012123679da12bc446 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Wed, 1 Apr 2020 09:45:19 -0230 Subject: [PATCH] Fix warnings from clang. --- src/emucore/Cart.hxx | 2 +- src/emucore/Device.hxx | 2 +- src/emucore/tia/TIA.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emucore/Cart.hxx b/src/emucore/Cart.hxx index 34e575a6c..dda0684fd 100644 --- a/src/emucore/Cart.hxx +++ b/src/emucore/Cart.hxx @@ -148,7 +148,7 @@ class Cartridge : public Device /** Determine the bank's origin - @param The bank to query + @param bank The bank to query @return The origin of the bank */ uInt16 bankOrigin(uInt16 bank) const; diff --git a/src/emucore/Device.hxx b/src/emucore/Device.hxx index 496306ae2..54f7b6264 100644 --- a/src/emucore/Device.hxx +++ b/src/emucore/Device.hxx @@ -165,7 +165,7 @@ class Device : public Serializable @return The access counters as comma separated string */ - virtual string getAccessCounters() const { return ""; }; + virtual string getAccessCounters() const { return ""; } #endif protected: diff --git a/src/emucore/tia/TIA.hxx b/src/emucore/tia/TIA.hxx index 28481dfc6..02c35ed24 100644 --- a/src/emucore/tia/TIA.hxx +++ b/src/emucore/tia/TIA.hxx @@ -536,7 +536,7 @@ class TIA : public Device @return The access counters as comma separated string */ - string getAccessCounters() const; + string getAccessCounters() const override; #endif private: