aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-30 11:28:02 -0400
committerJack Lloyd <[email protected]>2017-09-30 11:28:02 -0400
commitf6dc3db8bb7e31569ed1a6042771e3f529aefab8 (patch)
tree9604495c046e1e52cc1d8e552879f04fe8599631 /src/cli
parente6dfcaa00d82a2fff5973bd2721dc09562d64199 (diff)
Use class instead of struct for objects with member functions
Flagged by Sonar and quite reasonable
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h
index 37985339e..fc27e1d83 100644
--- a/src/cli/cli.h
+++ b/src/cli/cli.h
@@ -56,7 +56,7 @@ class CLI_Error_Unsupported : public CLI_Error
: CLI_Error(what + " with '" + who + "' unsupported or not available") {}
};
-struct CLI_Error_Invalid_Spec : public CLI_Error
+class CLI_Error_Invalid_Spec : public CLI_Error
{
public:
explicit CLI_Error_Invalid_Spec(const std::string& spec)