aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/cli_exceptions.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-05-09 19:31:28 -0400
committerJack Lloyd <[email protected]>2019-05-09 19:31:28 -0400
commit42dc03125548cd6e688936eb88b6d57522e713ad (patch)
tree72092736cbc5805afa0644bda2c9215412ca4355 /src/cli/cli_exceptions.h
parent87172d3bf58b2b3b6575087c42e05f801789e025 (diff)
Mark some classes as final
Diffstat (limited to 'src/cli/cli_exceptions.h')
-rw-r--r--src/cli/cli_exceptions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/cli_exceptions.h b/src/cli/cli_exceptions.h
index 38459b8dd..c88d17027 100644
--- a/src/cli/cli_exceptions.h
+++ b/src/cli/cli_exceptions.h
@@ -15,23 +15,23 @@ class CLI_Error : public std::runtime_error
explicit CLI_Error(const std::string& s) : std::runtime_error(s) {}
};
-class CLI_IO_Error : public CLI_Error
+class CLI_IO_Error final : public CLI_Error
{
public:
CLI_IO_Error(const std::string& op, const std::string& who) :
CLI_Error("Error " + op + " " + who) {}
};
-class CLI_Usage_Error : public CLI_Error
+class CLI_Usage_Error final : public CLI_Error
{
public:
explicit CLI_Usage_Error(const std::string& what) : CLI_Error(what) {}
};
/* Thrown eg when a requested feature was compiled out of the library
- or is not available, eg hashing with
+ or is not available, eg hashing with MD2
*/
-class CLI_Error_Unsupported : public CLI_Error
+class CLI_Error_Unsupported final : public CLI_Error
{
public: