More final markings.

These classes were recommended by gcc's -Wsugggest-final-types as places where
large numbers of virtual functions could be optimized away.
This commit is contained in:
Tim Wojtulewicz 2020-04-03 15:26:44 -04:00
parent 9c89cd4a47
commit 4035ec7760
21 changed files with 26 additions and 27 deletions

View file

@ -14,7 +14,7 @@ namespace threading { namespace formatter {
* A thread-safe class for converting values into a JSON representation
* and vice versa.
*/
class JSON : public Formatter {
class JSON final : public Formatter {
public:
enum TimeFormat {
TS_EPOCH, // Doubles that represents seconds from the UNIX epoch.