summaryrefslogtreecommitdiff
path: root/src/args.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-04-28 22:42:48 +0200
committerJoel Klinghed <the_jk@spawned.biz>2026-04-28 22:43:08 +0200
commit665bb6a5202ad0ca30e60bec338ca65853c1b131 (patch)
tree4d938a3f1bc3160ac065d9a437f2c1b6eb724864 /src/args.hh
parent2f43e9123dc406112d0802a82698cd124f42a794 (diff)
Make clang-tidy happy
Diffstat (limited to 'src/args.hh')
-rw-r--r--src/args.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/args.hh b/src/args.hh
index 14f3716..c17bf9a 100644
--- a/src/args.hh
+++ b/src/args.hh
@@ -11,17 +11,19 @@
class Args {
public:
virtual ~Args() = default;
+ Args(Args const&) = delete;
+ Args& operator=(Args const&) = delete;
class Option {
public:
virtual ~Option() = default;
+ Option(Option const&) = delete;
+ Option& operator=(Option const&) = delete;
[[nodiscard]] virtual bool is_set() const = 0;
protected:
Option() = default;
- Option(Option const&) = delete;
- Option& operator=(Option const&) = delete;
};
class OptionArgument : public Option {
@@ -57,8 +59,6 @@ class Args {
protected:
Args() = default;
- Args(Args const&) = delete;
- Args& operator=(Args const&) = delete;
};
#endif // ARGS_HH