summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-30 13:28:14 -0700
committerPatrick Venture <venture@google.com>2018-10-30 20:39:24 +0000
commita57477f1b139d524c378c7326289f75aae2f7895 (patch)
treed44a7eb48cd76549841f44445c84d1d6b7ca0245
parent7af157b10ef4c1a0d09be0e310825909ca630cd0 (diff)
downloadphosphor-pid-control-a57477f1b139d524c378c7326289f75aae2f7895.tar.gz
phosphor-pid-control-a57477f1b139d524c378c7326289f75aae2f7895.zip
pid: stepwisecontroller: add missing override
[pid/controller.hpp:24] -> [pid/stepwisecontroller.hpp:35]: (style) The function 'getID' overrides a function in a base class but is not marked with a 'override' specifier. Change-Id: I27f0853e24f6b25aa50f701ce5fad1ea989b618c Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--pid/stepwisecontroller.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pid/stepwisecontroller.hpp b/pid/stepwisecontroller.hpp
index f369397..37606c3 100644
--- a/pid/stepwisecontroller.hpp
+++ b/pid/stepwisecontroller.hpp
@@ -32,7 +32,7 @@ class StepwiseController : public Controller
void process(void) override;
- std::string getID(void)
+ std::string getID(void) override
{
return _id;
}
OpenPOWER on IntegriCloud