aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-15 11:28:06 -0400
committerJack Lloyd <[email protected]>2017-10-15 11:28:06 -0400
commit96ed1bf7f001e8302bdaa42ab37555ee5c0f9edb (patch)
treec27a5e1a6875062a8b55f1a54129d84ef8ad1373 /src/cli/speed.cpp
parentd52dece3876df6d19681fb16cb607325aee01052 (diff)
Additional final annotations
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r--src/cli/speed.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 9e1430668..3bb4f9279 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -132,7 +132,7 @@ namespace Botan_CLI {
namespace {
-class Timer
+class Timer final
{
public:
Timer(const std::string& name,
@@ -211,7 +211,7 @@ class Timer
return (milliseconds() < msec.count());
}
- class Timer_Scope
+ class Timer_Scope final
{
public:
explicit Timer_Scope(Timer& timer)
@@ -465,7 +465,7 @@ std::vector<std::string> default_benchmark_list()
}
-class Summary
+class Summary final
{
public:
Summary() {}
@@ -591,7 +591,7 @@ class Summary
}
private:
- class EntryBps
+ class EntryBps final
{
public:
EntryBps(const std::string& algo
@@ -618,7 +618,7 @@ class Summary
std::map<size_t, double> m_bps;
};
- class EntryOps
+ class EntryOps final
{
public:
EntryOps(const std::string& algo