This is an automated email from the ASF dual-hosted git repository.
dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f45a602357 Coverity. Fixes for CID-1497391 and CID-1497371 (#11805)
f45a602357 is described below
commit f45a6023575659dc117bbcd8b0c6cb5638c1cc12
Author: Damian Meden <[email protected]>
AuthorDate: Thu Oct 10 12:32:12 2024 +0200
Coverity. Fixes for CID-1497391 and CID-1497371 (#11805)
---
include/tscore/ArgParser.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/tscore/ArgParser.h b/include/tscore/ArgParser.h
index 728315f02e..4af3988741 100644
--- a/include/tscore/ArgParser.h
+++ b/include/tscore/ArgParser.h
@@ -82,6 +82,10 @@ class Arguments
{
public:
Arguments();
+ Arguments(const Arguments &) = default;
+ Arguments(Arguments &&) = default;
+ Arguments &operator=(const Arguments &) = default;
+ Arguments &operator=(Arguments &&) = default;
~Arguments();
ArgumentData get(std::string const &name);
@@ -135,6 +139,10 @@ public:
public:
// Constructor and destructor
Command();
+ Command(const Command &) = default;
+ Command(Command &&) = default;
+ Command &operator=(const Command &) = default;
+ Command &operator=(Command &&) = default;
~Command();
/** Add an option to current command
@return The Option object.