daemon: mark some classes and methods 'final'
As suggested by gcc's -Wsuggest-final-types and -Wsuggest-final-methods
Change-Id: I1622857ee53581efd0c6ce3fe93199c72202d817
diff --git a/daemon/fw/self-learning-strategy.hpp b/daemon/fw/self-learning-strategy.hpp
index 9b01005..7ffefc2 100644
--- a/daemon/fw/self-learning-strategy.hpp
+++ b/daemon/fw/self-learning-strategy.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2020, Regents of the University of California,
+ * Copyright (c) 2014-2021, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -50,7 +50,7 @@
getStrategyName();
/// StrategyInfo on pit::InRecord
- class InRecordInfo : public StrategyInfo
+ class InRecordInfo final : public StrategyInfo
{
public:
static constexpr int
@@ -64,7 +64,7 @@
};
/// StrategyInfo on pit::OutRecord
- class OutRecordInfo : public StrategyInfo
+ class OutRecordInfo final : public StrategyInfo
{
public:
static constexpr int